Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2005 05:43:51 -0800 (PST)
From:      d c <casteld73@yahoo.com>
To:        d c <casteld73@yahoo.com>, delphij@delphij.net
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: SSH From within a Jail
Message-ID:  <20051112134351.28756.qmail@web60325.mail.yahoo.com>
In-Reply-To: <20051112133842.28195.qmail@web60325.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software
version OpenSSH_3.8.1p1 FreeBSD-20040419
debug1: match: OpenSSH_3.8.1p1 FreeBSD-20040419 pat
OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1
FreeBSD-20050903
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192)
sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
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"

regards

--- d c <casteld73@yahoo.com> wrote:

> 
> 
> --- Xin LI <delphij@gmail.com> wrote:
> 
> > On 11/12/05, d c <casteld73@yahoo.com> 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 jails on the host giving me probs.
> > >
> > > I also tried recreating the /etc/ssh/ssh_hostkey
> > but
> > > that didn;t help
> > 
> > Do you have /dev/*random available in the jail? 
> > Typically there
> > should be /dev/random and a /dev/urandom which is
> a
> > symbolic link to
> > /dev/random.  IIRC there is problem if you don't
> > have these in the
> > jail if you do some ssh related operations...
> > 
> > Cheers,
> > --
> > Xin LI <delphij@delphij.net>
> http://www.delphij.net
> > 
> 
> Yes there is /dev/random and /dev/urandom
> 
> Has anyone successfully used ssh (client) from
> within
> a jail to connect to other servers?
> 
> I have recreate numerous jails but all suffer the
> same
> problem.
> 
> regards
> 
> 
> 		
> __________________________________ 
> Yahoo! FareChase: Search multiple travel sites in
> one click.
> http://farechase.yahoo.com
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe@freebsd.org"
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051112134351.28756.qmail>