Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17763

Password-less login: SSH is fine, but SCP still asks

$
0
0

Hi, I'm having a strange behaviour of 2 Debian Wheezy servers that I'd like to transfer some files between them by scp.

As usual, a key pair is generated by:

ssh-keygen -t ecdsa 

Copy/paste content of id_ecdsa.pub to remote host then try ssh and scp. But then only SSH doesn't require password, SCP does.

auth.log on remote host shows when scp command was hit:

Nov 14 16:02:23 helene2 sshd[21161]: Connection from 192.168.1.30 port 60100 Nov 14 16:02:23 helene2 sshd[21161]: Failed none for nedd from 192.168.1.30 port 60100 ssh2 Nov 14 16:02:23 helene2 sshd[21161]: Postponed keyboard-interactive for nedd from 192.168.1.30 port 60100 ssh2 

Does anybody have idea about this problem? Thanks

Edit: I was messing between root and user sessions. It just works. Sorry.

submitted by A999
[link][10 comments]

Viewing all articles
Browse latest Browse all 17763

Trending Articles