SSH hanging
Max Laier
max at love2party.net
Sun Mar 27 11:19:47 PST 2005
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 at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050327/0f2a5df0/attachment.bin
More information about the freebsd-stable
mailing list