Re: problem to establish SSH connection from inside jail to the outside world
Hi, I've just wanted to tell you, that I've solved the problem by not letting the script run under control of the daemon tools but via a self written perl script. Now, the problem not being able to access TTY no longer exists. Bye, S.Wagler S. Wagler wrote: Hi, I'm currently using FreeBSD 6.1-RELEASE with a bunch of jails. In one of them I need to connect to the outside world via SSH which does not work properly. When logging in to (!) the jail via SSH, everything works properly: I can connect from "inside" the jail to the outside via SSH, but when running a script from inside the jail via cron or in my case daemontools and not being logged into that jail, I get the following error while using a SSH syntax like "ssh -T -vv ...": ... read_passphrase: can't open /dev/tty: No such file or directory ... Is there any solution for that kind of problem? "/dev/tty" is not existing at all, which I think should not a problem under FreeBSD 6.x at all. Any solutions welcome! Thank you very much in advance, S. Wagler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem to establish SSH connection from inside jail to the outside world
Hi, yes, devfs is mounted. I've tried to connect from within the jail via telnet to the SSH port of the foreign host, which opens the connection successfully and shows the version number. So, the connection was established correctly and I think the problem with the pseudo TTY device is more or less correct. I also get the following error, while being logged in via suexec: debug1: read_passphrase: can't open /dev/tty: Device busy Chad Leigh -- Shire.Net LLC wrote: Do you have devfs mounted in your jails? I have no problem with ssh from my jails to the outside world on 6.x Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem to establish SSH connection from inside jail to the outside world
On Jul 21, 2006, at 5:19 PM, S. Wagler wrote: Hi, I'm currently using FreeBSD 6.1-RELEASE with a bunch of jails. In one of them I need to connect to the outside world via SSH which does not work properly. When logging in to (!) the jail via SSH, everything works properly: I can connect from "inside" the jail to the outside via SSH, but when running a script from inside the jail via cron or in my case daemontools and not being logged into that jail, I get the following error while using a SSH syntax like "ssh -T -vv ...": ... read_passphrase: can't open /dev/tty: No such file or directory ... Is there any solution for that kind of problem? "/dev/tty" is not existing at all, which I think should not a problem under FreeBSD 6.x at all. Do you have devfs mounted in your jails? I have no problem with ssh from my jails to the outside world on 6.x Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"