#2811 Can not login to puppet after pubkey auth enforcement.
Closed: Fixed None Opened 12 years ago by susmit.

= phenomenon =
Can not login to puppet after pubkey auth enforcement.

Here is my .ssh/config:

Host puppet puppet puppet.fedoraproject.org
Hostname %h
ProxyCommand ssh -q susmit@bastion.fedoraproject.org /usr/bin/nc %h 22

$ ssh puppet
Enter passphrase for key 'xxxxx':
nc: getaddrinfo: Name or service not known
ssh_exchange_identification: Connection closed by remote host

I have tried using puppet01, without success.

Thanks for any help.

= reason =

= recommendation =


Screwed up formatting

Here is my .ssh/config:

Host puppet puppet puppet.fedoraproject.org [[BR]]
Hostname %h [[BR]]
ProxyCommand ssh -q susmit@bastion.fedoraproject.org /usr/bin/nc %h 22 [[BR]]

$ ssh puppet [[BR]]
Enter passphrase for key 'xxxxx': [[BR]]
nc: getaddrinfo: Name or service not known [[BR]]
ssh_exchange_identification: Connection closed by remote host [[BR]]

Try a 'ssh -vvv' to see if you can see more what it's doing?

Is your local username different from your fas name?

My local username is same as fas name.

I can log into bastion.

[susmit@bastion02 ~]$ ssh puppet

Permission denied (publickey).

[susmit@bastion02 ~]$ nc puppet 22

SSH-2.0-OpenSSH_4.3

Protocol mismatch.

Here is a URL that I hope provides you with useful information. https://fedoraproject.org/wiki/SSH_Access_Infrastructure_SOP

You will not be able to ssh to hosts from bastion, you must connect to the hosts directctly.

Login to comment on this ticket.

Metadata