Re: bypassing ssh passwords FC3
From: General Schvantzkoph (schvantzkoph_at_yahoo.com)
Date: 12/25/04
- Next message: steve_at_hydramusic.net: "Changing outbound IP addresses"
- Previous message: IANAL_VISTA: "squirrelmail"
- In reply to: noi: "bypassing ssh passwords FC3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 25 Dec 2004 10:57:04 -0500
On Thu, 23 Dec 2004 23:59:21 +0000, noi wrote:
> Has anyone managed to make ssh authentication/pubkey work to bypass ssh
> passwords in FC3.
>
> I've made a public keys but nothing is working to bypass the password
> request when executing ssh.
>
> $ ssh -i .ssh/authorized_key noi@ssh_server
>
> on ssh_client
> 1) Used ssh_keygen1024 -t rsa (also tried with dsa) to create public keys
>
> 2) copied public key to ssh_server
>
> on ssh_server
>
> 3) cp public key to .ssh
>
> 4) created .ssh/config from /etc/ssh/ssh_config
>
> 5) updated config to identifykey .ssh/authorized_key
>
> 6) restarted sshd
>
> ssh still asks for password.
>
> Has anyone gotten ssh authentication to work in FC3?
You have to setup your /etc/ssh/sshd file to allow RSA authetication,
# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
IgnoreRhosts yes
AuthorizedKeysFile /etc/ssh/authorized_keys
IgnoreUserKnownHosts no
PrintMotd yes
StrictModes yes
RSAAuthentication yes
PermitEmptyPasswords no
PasswordAuthentication no
GatewayPorts no
AllowTcpForwarding yes
KeepAlive yes
I use webmin to setup SSH. It has a dandy ssh configuration tools. Get
webmin from http://www.webmin.com
- Next message: steve_at_hydramusic.net: "Changing outbound IP addresses"
- Previous message: IANAL_VISTA: "squirrelmail"
- In reply to: noi: "bypassing ssh passwords FC3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|