SSH usage

IMPORTANT IST now blocks password based SSH to most systems

SSH key types

  • Some old SSH key types are longer accepted.
  • With newer systems - you MUST use newer key types such as ed25519 keys for ssh access to work connecting to newer systems

Howto

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

SSH Client for Windows

MobaXterm SSH and Xterm MobaXterm SSH and Xterm Web site

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_keys 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 | WYSIWYG | More topic actions
Topic revision: r12 - 2021-12-17 - MikeGore
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback