Search Results

Search: Posts Made By: farahzaiba
8,670
Posted By farahzaiba
Sending ssh password in a script
Is there any way to send password in a sh script, to establish a ssh connection with the remote server, without having shared the public key?

The command I'm currently using is in my script is ...
10,273
Posted By farahzaiba
I'm using a sh script - #!/bin/sh I don't...
I'm using a sh script - #!/bin/sh

I don't think I can use expect with this. I believe expect requires tcl to be installed. That takes it back to my initial question "Is there any way of sending...
10,273
Posted By farahzaiba
automated ssh with provision for passphrase
Below is a part of my shell script. Currently I have shared the public key of the client with the host, therefore I will not be prompted for the password.

The key that has been created on the...
15,626
Posted By farahzaiba
I think I figured the problem! The machine from...
I think I figured the problem! The machine from where I'm running the script does not have unzip command. Hence the error!

I gave the entire path to unzip, that I got from the remote machine with...
15,626
Posted By farahzaiba
unzip command fails in ssh
I'm trying to run a set of commands on a remote machine using ssh in a shell script. One of the commands is unzip. But when the execution reaches this command, the script fails with an error that...
7,012
Posted By farahzaiba
closing a telnet session on error, in a shell script
I am using a shell script to telnet into a remote unix server and execute certain commands. But if any command being executed remotely, throws an error, the script just hangs. And the telnet session...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy