SSH Forward port onlu



Hi everyone.

I would like to configure OpenSSH that way, that user can login only
using keys and he can only for example tunnel one port from local
machine to remote.

It is possible - if yes - how (where can I find information about
that)?

Details:

HOST ----- INTERNET ---- SERVER with SSH

Now, HOST should have access to SERVER only by keys (not interactive)
etc, and it would like to make port tunelling.

For example:
HOST:3306 ---- Remote 3306 (MySQL) - so it will connect to remote
MySQL by crypted tunnell - but not other access should be given.

Marcin Praczko.

.



Relevant Pages

  • Re: reverse ssh
    ... > logged into either box) can use the tunnel for whatever connects to it. ... > I suggest you connnect back to your home system's 'sshd' port and then you ... > will have to satisfy the home box's login authorization to get access ... > password from your script. ...
    (freebsd-questions)
  • Re: reverse ssh
    ... I suggest a script be ... written to run an 'ssh -R' login from the home box to the office box, ... logged into either box) can use the tunnel for whatever connects to it. ... I suggest you connnect back to your home system's 'sshd' port and then you ...
    (freebsd-questions)
  • [PATCH] spelling fixes: arch/s390/
    ... - * Implementers MUST reject keys that exhibit this property. ... + * - format one debug entry and return size of formatted data ... * Sync the TOD clock using the port refered to by aibp. ... + * Sync the TOD clock using the port referred to by aibp. ...
    (Linux-Kernel)
  • RE: Tunneling over ssh with termination by the FW
    ... I would use something like Putty (ssh client software) to open a secure ... tunnel with the firewall. ... If the firewall has the sshd running on port ...
    (SSH)
  • Re: SSH - securing the port
    ... They'll portscan for it. ... What is the highest port number you can have? ... >>be using dsa keys. ... are DSA keys, then it follows that only DSA keys will get in. ...
    (comp.unix.solaris)

Loading