Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-24-2009, 09:38 AM   #1
Registered: Feb 2007
Posts: 34

Rep: Reputation: 15
redirect ssh user to another host

hi all.

I've got VirtualBox running guest Linux os,
network type is bridge, attached to local network interface
(so guest os is kind of in internal network).
I need several users to be transparently forwarded from
server host to guest os.

my first attempt was this script instead of shell+public keys auth:


exec ssh

but that doesn't allow sftp/scp doing scp/sftp on such user
simply hangs.
I know I can simply forward port with iptables, but I would
like to make sshd to forward connections to remote host.
is it possible?

P.S. google doesn't help at all it shows x11, port, tunneling
forwarding, but not full ssh proto


forward, ssh

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command logging ideas needed! ssh user@host "echo logme" ZiGz Linux - Security 6 04-15-2009 02:08 AM
How to 'netstat -nat + host ' at every time a user logs into SSH daemon ? frenchn00b Linux - Server 11 05-30-2008 12:25 AM
nis user login failure from remote host (ssh,sshd) freeindy Linux - Networking 1 01-18-2008 06:16 AM
nis user login failure from remote host (ssh,sshd) freeindy Linux - Security 1 01-17-2008 03:21 PM
ICMP host redirect htb Linux - Networking 1 08-12-2006 12:08 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration