[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] ssh in rc.local stalls xenU



I'm using Fedora Core 4.  I need to create an ssh port forwarding tunnel to
my xen0 domain when my xenU domain starts up, so I added this to the xenU's
/etc/rc.d/rc.local:

ssh -v -f -L 5500:localhost:5501 xen0_ip tail -f /dev/null

This causes my VM to pause for about 3 minutes during boot.  Furthermore,
the ssh tunnel never gets created.  The ssh command is stalling at
"Connecting to (xen0_IP) port 22"

I have null-passphrase authentication keys working, so I can execute the
tunnel manually after I log in.  So why won't the tunnel work before I log
in?

When I try the same trick on the bare-metal host machine and ssh to a
different physical machine, it works fine: no 3-minute stall and the ssh
tunnel is created fine.

So what is it about Xen or my xenU domain that breaks ssh before login, but
not after login?  And what is it about Xen or my xenU domain that breaks ssh
before login, while it works fine for a physical host?

Thanks for any thoughts,

Stephen Brueckner, ATC-NY

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.