Results 1 to 1 of 1
This one has me stumped. On all the Red Hat servers we have ssh remote login to root is disabled by setting 'PermitRootLogin no' in /etc/ssh/sshd_config. You can't ssh to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-11-2009 #1Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
Can't scp to server using root
This one has me stumped. On all the Red Hat servers we have ssh remote login to root is disabled by setting 'PermitRootLogin no' in /etc/ssh/sshd_config. You can't ssh to the server using root but you can scp to the server using root.
Now I've taken over management of a server I didn't install (and the person who did is no longer here). It has ''PermitRootLogin no' as well. So you can't ssh to it using root but when I try to scp using root I get this:
I've searched all over the manpages, forums, and google but can't figure out what's the difference. I assume the 'Permission denied' refers to some file. Any ideas?root@host's password:
debug3: packet_send2: adding 64 (len 55 padlen 9 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
Thanks


Reply With Quote
