Date: Mon, 1 Mar 2004 10:50:42 +0100 From: "Remko Lodder" <remko@elvandar.org> To: "Stephen Liu" <satimis@icare.com.hk>, <freebsd-questions@freebsd.org> Subject: RE: SSH Problem Message-ID: <20040301095053.CC32A2B4DAA@mail.evilcoder.org> In-Reply-To: <20040301094032.39AD619@mail.elvandar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301095053.CC32A2B4DAA>