SSH From within a Jail

2005-11-12 Thread d c
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. From the host machine I can

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

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 the

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

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
--- 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 running on I connect right

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:

(backtrace) cat /dev/ulpt0 -- causes fatal trap 12

2005-11-12 Thread Alex Pivovarov
running #cat /dev/ulpt0 causes fatal trap 12 and system begins dumping. printer HP LaserJet 1010 USB --- Script started on Sat Nov 12 16:10:02 2005 [EMAIL PROTECTED] dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979,

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 to

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 configuration data

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

Sierra Wireless / AC775 / Loading an external cisfile as a 'quirck'

2005-11-12 Thread Dirk-Willem van Gulik
I've got the (correct) CIS files below for a Sierra Wireeless Airnet 775 (AC775) card. The actual data on the card (see second cut-and-paste) is wrong (i.e. multi function instead of a modem). So I am looking for a way to either import a CIS file dynamically; at run time - or to translate a CIS

Re: poor fdc(4) performance

2005-11-12 Thread Matthew D. Fuller
On Sat, Nov 12, 2005 at 04:44:18PM +0900 I heard the voice of Pyun YongHyeon, and lo! it spake thus: Yes, it could be. But I think the machine is fast enough to read sequential blocks. Try running it without SMP. There may be enough happening in the MP locking bit that you end up falling

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 option to ssh.

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 Nov 11

Re: Sierra Wireless / AC775 / Loading an external cisfile as a 'quirck'

2005-11-12 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Dirk-Willem van Gulik [EMAIL PROTECTED] writes: : : I've got the (correct) CIS files below for a Sierra Wireeless Airnet 775 : (AC775) card. The actual data on the card (see second cut-and-paste) is : wrong (i.e. multi function instead of a modem). : : So

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 root

Trigerring a taskqueue from the if_start routine crashes FreeBSD6

2005-11-12 Thread Sebastien
Hello, My 802.11 driver queues frames to send to the device in a tailq and then triggers a taskqueue to actually send them. The taskqueue is required because I need to do two USB transfers, and wait for the first one to complete before I start the second : doing this asynchronously would be a

Re: Sierra Wireless / AC775 / Loading an external cisfile as a 'quirck'

2005-11-12 Thread Dirk-Willem van Gulik
On Sat, 12 Nov 2005, M. Warner Losh wrote: OpenBSD solved this problem by listing this card in pcmica_cis_quirk.c. Maybe you can try that as an iterrum solution? Ack - thanks a lot for that pointer - trying that now. (Still gives me the error below; but I'll fiddle with it). database of

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 jails on the

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 could also

[patch] Re: Loading mfsroot read-write on FreeBSD 6.0-RELEASE

2005-11-12 Thread Dinesh Nair
On 11/12/05 21:02 Dinesh Nair said the following: how does one specify a read/write mount of mfsroot in 6.0 in the bootloader ? apparently, the behaviour of vfs_mountroot_try() has changed in 6.0. previously, if the root filesystem was mounted from a memory disk, as would be the case with

UFS2 max limits?

2005-11-12 Thread Joseph Koshy
The Wikipedia page referenced below says that UFS2 supports a filesystem size of 2^80 Bytes (1YiB) with the limit on a given file being 2^55 bytes (32 PiB). Are these numbers correct? I somehow remember the limits as being much lower (of the order of 16TB or so).