I waste just half a day but still can't deel it.
Use Key to Login ssh-server may be more safer, but I just want to Auto Login without password in shell script.
If you want to login B from A:
On A, $HOME/.ssh/, use ssh-keygen -t dsa to get publish key file, this generate id_dsa and id_dsa.pub, then scp id_dsa.pub to B:$HOME/.ssh/ as authorized_keys or >> to authorized_keys when it exsit.
It really work on my compute and stations in company, but failed on mission.
I'll find out tomorrow.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment