TWiki> CF Web>Linux>SSH (revision 9)EditAttach

SSH usage

Howto

SSHFS - Examples of using Ubuntu file manager to connect via SSH to any server you can log into

SSH Client for Windows

SSH Client and X Windows under MS Windows

SSH Keys instead of passwords - highly recommended for frequent access

Using this step will save lots of time typing in passwords when accessing your remote files
  • You can log in or access a remote account without using a password by following these steps
  1. mkdir ~/.ssh
  2. If you do not have an SSH public key yet then run this command
    • ssh-keygen -t dsa
  3. repeat for rsa, ecdsa, ed25519
  4. copy the contents of the ~.ssh/*.pub file and add it to the end of the file ~/.ssh/authorized_keys2 on the remote host (create this file if it does not exist)
  • Note:
    • ssh-keygen -b 2048 -t rsa is probably better

SSH Keys notes"> Other SSH Keys notes

SSH Port Forwarding

* Syntax Example: ssh -X -L 3390:remotepc:3389 userid@unixbox.example.org
    1. ) This does an SSH connection to userid@unixbox.example.org with X windows forwarding
    2. ) Forwards port 3389 to a local port on the client computer 3390.
      • remotepc can be a DNS name known by unixbox.example.org - or an IP
        • In fact unixbox.example.org can be running a private DNS on a NAT and this name lookup will.
    3. ) you can have as many -L forwards as you wish

SSH Agent Forwarding

Proxy

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2017-10-03 - MikeGore
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback