LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-24-2009, 10:38 AM   #1
naquad
Member
 
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:

#!/bin/sh

exec ssh user@guest.os.address.here

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
 
  


Reply

Tags
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 03:08 AM
How to 'netstat -nat + host ' at every time a user logs into SSH daemon ? frenchn00b Linux - Server 11 05-30-2008 01:25 AM
nis user login failure from remote host (ssh,sshd) freeindy Linux - Networking 1 01-18-2008 07:16 AM
nis user login failure from remote host (ssh,sshd) freeindy Linux - Security 1 01-17-2008 04:21 PM
ICMP host redirect htb Linux - Networking 1 08-12-2006 01:08 AM


All times are GMT -5. The time now is 04:39 PM.

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