Hello everyone,
In my network, I have my Mac OSX server and run it.
I want my mac to connect to the debian via ssh without having to write the password, so I think the identifiaction rsa public key without a pass, here's what I did:
1 / debian on the creation of the keys in / home/user1/.ssh: ssh-keygen-t rsa-b 1024
2 / Create a file / home/user1/.ssh/config with the content:
Host 'IP_du _debian'
User user1
Compression yes
Protocol 2
RSAAuthentication yes
No StrictHostKeyChecking
ForwardAgent yes
ForwardX11 yes
IdentityFile / home/user1/.ssh/id_rsa
3 / copy the public key / home/user1/.ssh/id_rsa.pub on my mac in / Users/user2/.ssh/authorized_keys
4 / I restarted sshd on debian
So, it should work when I'm on my mac as user2 and write ssh user1 @ IP_du_debian ....
But I am still the word from user1!
I hit the head against the wall all evening yesterday
the procedure I just described is a procedure that I have already used and works between servers and clients ssh on ubuntu.
Is there a special configuration to do on the mac? or on debian?
Who can help me with your help.
Bookmarks