![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Ssh
Dear All,
I want to ssh to a computer and send a command to it to get executed, for instance ssh machine1 df -k but the issue is that i have to enter password everytime i run this command; can i include the password in the command line somewhere i want to make it a script... kindly help me out... BR/asad |
|
||||
|
Hi,
You must declare authorized keys in/out for any user you want to use (in $HOME/.ssh directory). At the first connection, the system will ask you if you want to register the user and after, you won't have any question. Search on this forum, I must find answers for yours questions... ![]() Rgds |
|
||||
|
Just answered it here
http://www.unix.com/shell-programmin...#post302126646 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|