Re: remote logon

From: Hexren (me_at_hexren.net)
Date: 10/23/04

  • Next message: Brian: "Re Rid of those windows desktops!"
    Date: Sat, 23 Oct 2004 15:18:22 +0200
    To: freebsd-newbies@freebsd.org
    
    

    B> I just completed install of 5.2.1 and am trying to logon remotely via SSH and keep getting access
    B> denied.

    B> My password is correct, because I can log onto the box directly.

    B> Any ideas?
    B> _______________________________________________
    B> freebsd-newbies@freebsd.org mailing list
    B> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    B> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"

    ---------------------------------------------

    are you trying to log on as "root" ?
    That is forbidden by default.
    you must change the parameter "PermitRootLogin" from no to yes in the
    sshd conf file (which is located at /etc/ssh/sshd_conf/)

    btw: it is a bad habit to remotely log in as root, it is considered to
    be more secure if you log on as unprivileged user and then "su - root"
    to become the superuser.

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Brian: "Re Rid of those windows desktops!"

    Relevant Pages

    • how to scp from one box to another with no root ssh?
      ... to move config or script files from one box to another on ... recent discussions on the list have pointed out that root login ... I have sshd setup to only allow ssh based on pre-existing keys (no ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: ssh to remote machine with user login problem
      ... you need to run the ssh command with -v argument and send us the output ... while you are trying to access the system as root and as user. ... And of course the lines from /var/log/auth for a root login and for a user ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: how to enable the root in telnet
      ... over the network if u make no ssh logins ... how to enable the root in telnet ... >> You're not supposed to log in as root over telnet. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: authentication failure
      ... - root" successfully, ... but you can not log in via ssh as that same normal user and then "su - ... There are reasons why the default in Debian is PermitRootLogin no ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • RE: Linux hacked
      ... Also, what exactly did the history file show, can you paste it into a mail ... > First let me say I'm a security novice. ... > been unsuccessful in getting root back. ... > via ssh but you could su in once logged in as one of three users. ...
      (Security-Basics)