Re: SSH From within a Jail

2005-11-15 Thread d c
Koen Martens <[EMAIL PROTECTED]> wrote: Koen Martens wrote: > d c wrote: > >>Greetings: >> >>I currently am running Freebsd 6.0 Release. >> >>I am experimenting with jails and have run into a >>problem. I need to ssh from within my jail to another >>server. Actually I need to use scp. WHen I t

Re: Re: SSH From within a Jail

2005-11-14 Thread Sergey Babkin
>From: Pawel Jakub Dawidek <[EMAIL PROTECTED]> >On Sun, Nov 13, 2005 at 09:26:05PM +0100, Koen Martens wrote: >+> Just remembered something else: do you jexec into the jail, or do >+> you do a proper logon (eg. ssh into the jail). I think that if you >+> jexec into the jail and then try to ssh, yo

Re: SSH From within a Jail

2005-11-14 Thread Pawel Jakub Dawidek
On Sun, Nov 13, 2005 at 09:26:05PM +0100, Koen Martens wrote: +> Just remembered something else: do you jexec into the jail, or do +> you do a proper logon (eg. ssh into the jail). I think that if you +> jexec into the jail and then try to ssh, you might have a problem +> because you aren't really

Re: SSH From within a Jail

2005-11-13 Thread Koen Martens
Koen Martens wrote: > d c wrote: > >>Greetings: >> >>I currently am running Freebsd 6.0 Release. >> >>I am experimenting with jails and have run into a >>problem. I need to ssh from within my jail to another >>server. Actually I need to use scp. WHen I try it I >>get the error: "Host key verif

Re: SSH From within a Jail

2005-11-12 Thread Koen Martens
d c wrote: > Greetings: > > I currently am running Freebsd 6.0 Release. > > I am experimenting with jails and have run into a > problem. I need to ssh from within my jail to another > server. Actually I need to use scp. WHen I try it I > get the error: "Host key verification failed." This co

Re: SSH From within a Jail

2005-11-12 Thread Xin LI
On 11/12/05, d c <[EMAIL PROTECTED]> wrote: > telnet 10.0.0.60 22 > > Connected to 10.0.0.60. > Escape character is '^]'. > SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419 > > If I ssh into 10.0.0.60 from the host system that the > jail is running on I connect right in w/o any > problems. > > Just the jai

Re: SSH From within a Jail

2005-11-12 Thread d c
I used the man page. I am using freebsd 6.0 Can you ssh from your jails? albi <[EMAIL PROTECTED]> wrote: On Sat, 12 Nov 2005 08:59:02 -0800 (PST) d c wrote: > I had the same error even with the -T option. > > Here is the ls from /dev in the jail. Maybe this > helps? -- cut -- > crw--- 1 r

Re: SSH From within a Jail

2005-11-12 Thread albi
On Sat, 12 Nov 2005 08:59:02 -0800 (PST) d c <[EMAIL PROTECTED]> wrote: > I had the same error even with the -T option. > > Here is the ls from /dev in the jail. Maybe this > helps? -- cut -- > crw--- 1 root wheel 0, 67 Nov 11 22:04 > ttyvd > crw--- 1 root wheel 0, 68 N

Re: SSH From within a Jail

2005-11-12 Thread d c
--- Brian Reichert <[EMAIL PROTECTED]> wrote: > On Sat, Nov 12, 2005 at 05:43:51AM -0800, d c wrote: > > debug1: read_passphrase: can't open /dev/tty: > Device > > busy > > Host key verification failed. > > > > I just don't understand how to fix "can't open > > /dev/tty" > > Consider the -T op

Re: SSH From within a Jail

2005-11-12 Thread Brian Reichert
On Sat, Nov 12, 2005 at 05:43:51AM -0800, d c wrote: > debug1: read_passphrase: can't open /dev/tty: Device > busy > Host key verification failed. > > I just don't understand how to fix "can't open > /dev/tty" Consider the -T option to ssh. ('Disable pseudo-tty allocation.) I don't know the rami

Re: SSH From within a Jail

2005-11-12 Thread d c
--- albi <[EMAIL PROTECTED]> wrote: > On Sat, 12 Nov 2005 05:43:51 -0800 (PST) > d c <[EMAIL PROTECTED]> wrote: > > > here is the rsult from using -v. THis should > help. > > > > ns1# ssh -v 10.0.0.60 > > OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 > 25 > > Oct 2004 > > debug1: Reading

Re: SSH From within a Jail

2005-11-12 Thread albi
On Sat, 12 Nov 2005 05:43:51 -0800 (PST) d c <[EMAIL PROTECTED]> wrote: > here is the rsult from using -v. THis should help. > > ns1# ssh -v 10.0.0.60 > OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 > Oct 2004 > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Connecting t

Re: SSH From within a Jail

2005-11-12 Thread d c
here is the rsult from using -v. THis should help. ns1# ssh -v 10.0.0.60 OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 10.0.0.60 [10.0.0.60] port 22. debug1: Connection established. debug1: permanently_se

Re: SSH From within a Jail

2005-11-12 Thread d c
--- Xin LI <[EMAIL PROTECTED]> wrote: > On 11/12/05, d c <[EMAIL PROTECTED]> wrote: > > telnet 10.0.0.60 22 > > > > Connected to 10.0.0.60. > > Escape character is '^]'. > > SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419 > > > > If I ssh into 10.0.0.60 from the host system that > the > > jail is runni

Re: SSH From within a Jail

2005-11-12 Thread Andrea Campi
On Sat, Nov 12, 2005 at 05:30:58AM -0800, d c wrote: > Just the jails on the host giving me probs. > > I also tried recreating the /etc/ssh/ssh_hostkey but > that didn;t help As a quick test, try moving aside (renaming) the .ssh directory in the home directory of the jail user you're trying this

Re: SSH From within a Jail

2005-11-12 Thread d c
telnet 10.0.0.60 22 Connected to 10.0.0.60. Escape character is '^]'. SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419 If I ssh into 10.0.0.60 from the host system that the jail is running on I connect right in w/o any problems. Just the jails on the host giving me probs. I also tried recreating the /e

Re: SSH From within a Jail

2005-11-12 Thread Xin LI
On 11/12/05, d c <[EMAIL PROTECTED]> wrote: > I am not running sshd in the jail. I am trying to > attach to sshd on another server from inside the jail. Seems that I has misread. Would you please try "telnet [target IP] 22" to see what happens? BTW. Please "reply all" when replying e-mail from

Re: SSH From within a Jail

2005-11-12 Thread Xin LI
On 11/12/05, d c <[EMAIL PROTECTED]> wrote: > Greetings: > > I currently am running Freebsd 6.0 Release. > > I am experimenting with jails and have run into a > problem. I need to ssh from within my jail to another > server. Actually I need to use scp. WHen I try it I > get the error: "Host key