RE: SSH Problem

From: Remko Lodder (remko_at_elvandar.org)
Date: 03/01/04

  • Next message: Remko Lodder: "RE: Is it a warning on video config"
    To: "Stephen Liu" <satimis@icare.com.hk>, <freebsd-questions@freebsd.org>
    Date: Mon, 1 Mar 2004 10:50:42 +0100
    
    

    Hi,

    Remote rootlogin's are disabled .. which is good for security reasons,

    what do you mean with "it does not work as user"

    You login under ssh -X $user@$domain which then gives you a shell
    for $user when you properly authorized. After that you can use X11,
    You mean that X11 does not run as $user? it runs under root?
    Well perhaps it's already started by root, so that you tunnel to
    X11 where it's already running. You can try to fix that by starting
    X11 as $user, for example using startx {when it's not running yet}

    Hope this helps a little, if not, perhaps i did not understand your
    question to the fullest, sorry for that :)

    --
    Kind regards,
    Remko Lodder
    Elvandar.org/DSINet.org
    www.mostly-harmless.nl Dutch community for helping newcomers on the
    hackerscene
    mrtg.grunn.org Dutch mirror of MRTG
    -----Oorspronkelijk bericht-----
    Van: owner-freebsd-questions@freebsd.org
    [mailto:owner-freebsd-questions@freebsd.org]Namens Stephen Liu
    Verzonden: maandag 1 maart 2004 18:53
    Aan: freebsd-questions@freebsd.org
    Onderwerp: SSH Problem
    Hi all folks,
    FreeBSD 5.2
    ===========
    I can as 'root'
    # ssh -X user@localhost
    tunneling to 'user' but it does not work as 'user'
    $ ssh -X root@localhost
    Password: <root psword>
    Password: <root psword>
    Password: <root psword>
    root@localhost.localdomain's password: <root psword>
    Permission denied, please try again.
    root@localhost.localdomain's password: <root psword>
    Permission denied, please try again.
    root@localhost.localdomain's password: <root psword>
    Permission denied (publickey,password,keyboard-interactive).
    Kindly advise how to fix this problem
    TIA
    B.R.
    Stephen Liu
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Remko Lodder: "RE: Is it a warning on video config"

    Relevant Pages

    • SSH Problem
      ... tunneling to 'user' but it does not work as 'user' ... $ ssh -X root@localhost ... Password: <root psword> ... To unsubscribe, ...
      (freebsd-questions)
    • SSH = X11 forwarding?
      ... yes even with the Xorg v7. ... very simple "forward X11 over SSH" and it isn't working. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: SSH = X11 forwarding?
      ... Ryan Nowakowski wrote: ... very simple "forward X11 over SSH" and it isn't working. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: broken ssh
      ... On Tue, 2004-01-06 at 15:56, Laura Noe wrote: ... SSh is working now! ... should I do the same for x11? ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)