Keyfile / IdentityFile id_rsa muss auf dem Quellrechner vorhanden sein. ssh-keygen -b 4096 -t rsa -f ~/.ssh/id_rsa Dann würde ich auch gleich Public Key Authentifizierung vorschlagen. http://www.schlittermann.de/doc/ssh.html Am 29.01.2018 um 00:06 schrieb Thomas: > Hallo, > ich habe wohl mehr rumprobiert als was anderes > > console geht problemlos zu beiden Zielrechner, konquerer nicht. > > Am Sonntag, 28. Januar 2018, 17:46:29 schrieb Chris: >> Hatte ich auch anfangs. Folgende Lösung hat funktioniert >> cd ~/.ssh >> sollte dein IdentityFile nicht id_rsa sein: >> ln -s DEIN_KEY_FILE_rsa id_rsa >> ssh-add > > > auf einen Zielrechner habe ich das: > drwx------ 2 root root 4,0K Jan 28 23:52 . > drwx------ 5 root root 4,0K Jan 26 01:12 .. > -rw------- 1 root root 668 Jan 1 2015 id_dsa > -rw-r--r-- 1 root root 600 Jan 1 2015 id_dsa.pub > lrwxrwxrwx 1 root root 6 Jan 28 23:51 id_rsa -> id_dsa > -rw------- 1 root root 0 Jan 28 23:52 known_hosts > -rw-r--r-- 1 root root 4,1K Mär 1 2016 known_hosts.old > -rw------- 1 root root 4,8K Jan 28 23:27 known_hosts_SAVE > > Auf einem anderen Zielrechner das > -rw-r--r-- 1 root root 0 Jan 28 23:39 authorized_keys > -rw------- 1 root root 0 Jan 28 23:55 known_hosts > -rw-r--r-- 1 root root 2,4K Apr 25 2016 known_hosts.old > > Auf dem Quellrechner das > -rw-r--r-- 1 thomas thomas 888 Jan 28 23:54 known_hosts > -rw-r--r-- 1 thomas thomas 2,5K Jan 28 23:24 known_hosts_SAVE > > > Zielrechner:~/.ssh# ssh-add > Could not open a connection to your authentication agent. > > > console geht problemlos zu beiden Zielrechner, konquerer nicht. > > Gruss > > > > > > > >
Attachment:
signature.asc
Description: OpenPGP digital signature