Date: Sun, 27 Mar 2005 20:19:24 +0100 From: Max Laier <max@love2party.net> To: freebsd-pf@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Re: SSH hanging Message-ID: <200503272119.32390.max@love2party.net> In-Reply-To: <Pine.LNX.4.44.0503251915050.9905-100000@staffshell.primus.ca> References: <Pine.LNX.4.44.0503251915050.9905-100000@staffshell.primus.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Sorry for replying late ...
On Saturday 26 March 2005 01:25, Didier Rwitura wrote:
> /etc/shell ---> /usr/sbin/authpf
<...>
> I am getting
>
> Hello didier, You are authenticated from host "10.0.0.33"
>
> when I connect with ssh but it hangs ... I don't get the prompt
This is intentional. authpf is not an interactive shell, it is simply for
authentication purposes. The codeportion in question:
| while (1) {
| printf("\r\nHello %s, ", luser);
| printf("You are authenticated from host \"%s\"\r\n", ipsrc);
| setproctitle("%s@%s", luser, ipsrc);
| print_message(PATH_MESSAGE);
| while (1) {
| sleep(10);
| if (want_death)
| do_death(1);
| }
| }
--
/"\ Best regards, | mlaier@freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQBCRwdEXyyEoT62BG0RAqOwAJ973WEHboL60ZGQpRW+EZKBIt7rXwCfXNNe
5na9jr7AEa064Lmyd7pGSso=
=BEHM
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503272119.32390.max>
