![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing variable from bash to perl from bash script | arsidh | Shell Programming and Scripting | 10 | 06-04-2008 12:25 PM |
| Why generate "ash and bash" different output for same bash script? | s. murat | Shell Programming and Scripting | 0 | 05-26-2008 07:19 AM |
| bash script for ssh login- | big_pil | Shell Programming and Scripting | 5 | 10-29-2007 12:23 PM |
| How to get bash to be the login shell? | amheck | SUN Solaris | 8 | 03-10-2006 05:39 PM |
| bash script help!!! | shooroop | Shell Programming and Scripting | 3 | 10-06-2005 07:20 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
maybe i missing something
i ran this script: #!/bin/bash if [ ! -r ${HOME}/.ssh/id_rsa.pub ]; then ssh-keygen -b 2048 -t rsa fi #Append to the copy on the remote server cat ~/.ssh/id_rsa.pub | ssh ${USER}@$1 "cat - >> .ssh/authorized_keys" if [ $? -eq 0 ]; then echo "Success" fi and still could not login automatcly to the host server why? |
| Sponsored Links | ||
|
|