Re: [suse-security] still problems to use SSH Authentication
30 Aug
2002
30 Aug
'02
10:04
On Aug 30, Dominik Metzlerwrote: > > tying still to conf. my remot to log in without any passwd > > using the SSH > > Key Authentication. I generate a key via ssh-keygen. copied the > > "identity.pub" file into the "remote:/$HOME/.ssh" --> > > appended the file > > to the "authorized_keys" file. than I restart the sshd on > > both machines You could try the following: 1) ssh-keygen -t rsa, don't give a password this generates a rsa key for protocol version 2 2) take $HOME/.ssh/id_rsa.pub and put it in the remote user's $HOME/.ssh/authorized_keys2 or $HOME/.ssh/authorized_keys, depending on the version you're running on the remote host. 3) on the remote host, set "Protocol 2" or "Protocol 2,1", (the latter I would recommend only if there have to be proto 1 clients). and restart remote sshd. Andreas Baetz ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been scanned for the presence of computer viruses. **********************************************************************
30 Aug
30 Aug
14:50
New subject: still problems to use SSH Authentication
thanx guys !!I'll try !! ----- Original Message ----- From: "Andreas Baetz"To: Sent: Friday, August 30, 2002 12:04 PM Subject: Re: [suse-security] still problems to use SSH Authentication > On Aug 30, Dominik Metzler wrote: > > > tying still to conf. my remot to log in without any passwd > > > using the SSH > > > Key Authentication. I generate a key via ssh-keygen. copied the > > > "identity.pub" file into the "remote:/$HOME/.ssh" --> > > > appended the file > > > to the "authorized_keys" file. than I restart the sshd on > > > both machines > You could try the following: > 1) ssh-keygen -t rsa, don't give a password > this generates a rsa key for protocol version 2 > > 2) take $HOME/.ssh/id_rsa.pub and put it in the remote user's > $HOME/.ssh/authorized_keys2 or $HOME/.ssh/authorized_keys, > depending on the version you're running on the remote host. > > 3) on the remote host, set "Protocol 2" or "Protocol 2,1", (the > latter I would recommend only if there have to be proto 1 clients). > and restart remote sshd. > > Andreas Baetz > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been scanned > for the presence of computer viruses. > ********************************************************************** > > > -- > Check the headers for your unsubscription address > For additional commands, e-mail: suse-security-help@suse.com > Security-related bug reports go to security@suse.de, not here > >
7921
Age (days ago)
7921
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andreas Baetz
-
Dominik Metzler