Run the sshd on box with a -p flag to specify on which port the sshd will
listen. On box2, run ssh with the -p option to specify the port to which
the client will attempt to connect. The port numbers must match, of
course, and must be a number between 1024 and 65535.

On box1, if they use shadow passwords, you will not be able to use
password authentication because the sshd is not running as root.

--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638


On Sat, 20 May 2000, Darren Wyn Rees wrote:

> Here is what I'm trying to achieve with ssh,
> and I'd appreciate your comments (as I can't 
> as yet figure what I'm doing wrong).
> 
> [box1] I'm an ordinary user
> [box2] I own this, it's my home machine.
> 
> I connect to the Internet from [box2] via
> an ISP that restricts certain ports, however
> I need 'telnet-type' access to [box1] to do
> certain things.
> 
> I'm told that I can circumvent this restriction,
> by running sshd on [box1], listening on a certain
> port, and logging in via ssh from [box2]. 
> 
> Thereafter, I'm hazy on the details.  Is there
> a tutorial somewhere that explains in newbie
> language what steps I need to go through to
> achieve the above (on the assumption it is possible).
> 
>       Darren
> 
> -- 
> this is my .sig, show me yours
> 

Reply via email to