ssh
secure shell
window title
So you see from you window title which machine you have ssh'd to you might like to define
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME\%\%.*}:${PWD/#$HOME/~}\007"'
HOSTNAME should just be HOSTNAME<percent><percent> without backslashes
enable login to a remote ssh server without entering a password
first create a RSA key on your local server and copy it to the remote server
$ ssh-keygen -t rsa
$ scp .ssh/id_rsa.pub remote-server:
ssh to remote server and add your RSA key to the list of authorized keys
$ ssh remote-server
$ cat id_rsa.pub >> .ssh/authorized_keys
$ exit
disconnect and the next time you ssh to the remote server it shouldn't ask you for the password
SshSecurity
REFERRERS
SystemServices
There are no comments on this page. [Add comment]