ssh config
-
ssh connection without typing passwordComputer/linux 2011. 1. 19. 14:29
Generate Key... # 1) [A] ssh-keygen -t dsa -b 1024 -f $HOME/ssh-key # 2) [A] scp ssh-key.pub B:~/.ssh/ # 3) [B] cat B:~/.ssh/ssh-key.pub >> $HOME/.ssh/authorized_keys [B] chmod 700 $HOME/.ssh/authorized_keys # 4) [B] rm ssh-key.pub # 5) [A] alias B='ssh -i ~/.ssh/ssh-key -Y -C user@B' Make config ... [A] emacs .ssh/config Host * ForwardX11 yes ForwardAgent yes VisualHostKey yes PermitLocalComman..