Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Redirect 127.0.0.1 to host IP?
June 24, 2004, 4:42 pm
rate this thread
- Richard E. Silverman
June 25, 2004, 3:47 am
Re: Redirect 127.0.0.1 to host IP?
Glenn> Is it possible to configure ssh to redirect requests sent to
Glenn> 127.0.0.1:22 to <host IP>:22 ?
ssh -L 22:<host IP>:22 ...
This will usually need to be run as root in order to bind the "privileged"
Glenn> If not, I can use a user-mode program to do this task,
What do you mean by "user-mode?" This term is usually used as distinct
from "kernel mode," but that doesn't make sense here. And if you mean
root vs non-root, that doesn't make sense either as you want it to bind a
Also, your comment suggests you simply want to redirect connections
to/from a single host. You could use an SSH client this way, but it would
provide no security, and it might be simpler to just use something else,
e.g. the redirection facility of netfilter.
Glenn> but is security potentially compromised when reading from and
Glenn> sending to TCP sockets?
I don't understand this question.
- » Re: Coding an SFTP step in a Unix Script running F-Secure Shell
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum