[wplug] scp, ssh, ftp login only root

Lance Tost ltost at pobox.com
Mon Mar 31 22:54:45 EST 2003


On Mon, 31 Mar 2003, Scott Kiesling wrote:
> I am trying to use ssh, scp, and ftp to log into my machine (the former
> preferred). When I try to log in, I get the message "530 Authentication
> failed, sorry Login failed." When I try loggin in as root (dangerous, I
> know), it works. I am using the same password I use successfully when
> loggin in at the console. What is wrong? How can I fix it? 

Often, remote root access is prohibited for security reasons.  For 
ssh/scp, look in /etc/ssh/sshd_config.  Make sure PermitRootLogin is set 
to yes.  Restart sshd (service sshd restart) and try again.

For ftp, (really bad idea since the password is sent in the clear)... it 
looks like something called vsftpd is the default now?  I don't know since 
I haven't really bothered with ftp in some time (I always use scp)... 
anyway, if using vsftpd, remove the root line from /etc/vsftpd.ftpusers.

-- 
Lance Tost <ltost at pobox.com>




More information about the wplug mailing list