Difference between revisions of "SSH"

From Cncz
Jump to: navigation, search
(ssh_config)
(kopjes gefixed)
 
Line 7: Line 7:
 
[/en]
 
[/en]
  
 +
 +
=== [en]Recommended ssh client software[/en][nl]Aangeraden SSH client software[/nl] ===
 
[en]
 
[en]
=== Recommended ssh client software ===
 
 
* Windows:
 
* Windows:
 
** [http://mobaxterm.mobatek.net/ MobaXterm]. From the MobaXterm website: "MobaXterm is an enhanced terminal for Windows with an X11 server, a tabbed SSH client and several other network tools for remote computing (VNC, RDP, telnet, rlogin). MobaXterm brings all the essential Unix commands to Windows desktop, in a single portable exe file which works out of the box." The support of OpenGL could also be a reason to start using MobaXterm. If you use it professionally, you should consider subscribing to [http://mobaxterm.mobatek.net/download.html MobaXterm Professional Edition]. MobaXterm is available on the [[S-schijf|S-disc]].
 
** [http://mobaxterm.mobatek.net/ MobaXterm]. From the MobaXterm website: "MobaXterm is an enhanced terminal for Windows with an X11 server, a tabbed SSH client and several other network tools for remote computing (VNC, RDP, telnet, rlogin). MobaXterm brings all the essential Unix commands to Windows desktop, in a single portable exe file which works out of the box." The support of OpenGL could also be a reason to start using MobaXterm. If you use it professionally, you should consider subscribing to [http://mobaxterm.mobatek.net/download.html MobaXterm Professional Edition]. MobaXterm is available on the [[S-schijf|S-disc]].
Line 18: Line 19:
 
* Android: [https://juicessh.com/ JuiceSSH] or [https://connectbot.org/ ConnectBot]. Install [https://mosh.org/ Mosh] (mobile Shell) when roaming or having intermittent connections.
 
* Android: [https://juicessh.com/ JuiceSSH] or [https://connectbot.org/ ConnectBot]. Install [https://mosh.org/ Mosh] (mobile Shell) when roaming or having intermittent connections.
 
[/en]
 
[/en]
 
 
[nl]
 
[nl]
Aangeraden SSH client software:
 
 
* Windows:  
 
* Windows:  
 
** [http://mobaxterm.mobatek.net/ MobaXterm]. Uit de MobaXterm website: "MobaXterm is een verbeterde terminal voor Windows met een X11 server, een SSH client met tabbladen en bevat een aantal andere netwerktools voor remote computing (VNC, RDP, telnet, rlogin). MobaXterm brengt alle essentiële Unix-commando's naar het Windows bureaublad, in een enkele exe-bestand die werkt uit de doos." Ook de OpenGL-ondersteuning kan een reden zijn om MobaXterm te gaan gebruiken. Bij professioneel gebruik dient men een [http://mobaxterm.mobatek.net/download.html licentie voor de Professional Edition] te overwegen. MobaXterm is ook beschikbaar op de [[S-schijf]].
 
** [http://mobaxterm.mobatek.net/ MobaXterm]. Uit de MobaXterm website: "MobaXterm is een verbeterde terminal voor Windows met een X11 server, een SSH client met tabbladen en bevat een aantal andere netwerktools voor remote computing (VNC, RDP, telnet, rlogin). MobaXterm brengt alle essentiële Unix-commando's naar het Windows bureaublad, in een enkele exe-bestand die werkt uit de doos." Ook de OpenGL-ondersteuning kan een reden zijn om MobaXterm te gaan gebruiken. Bij professioneel gebruik dient men een [http://mobaxterm.mobatek.net/download.html licentie voor de Professional Edition] te overwegen. MobaXterm is ook beschikbaar op de [[S-schijf]].
Line 30: Line 29:
 
* Android: [https://juicessh.com/ JuiceSSH] of [https://connectbot.org/ ConnectBot]. Installeer [https://mosh.org/ Mosh] (mobile Shell) bij niet-stabiele verbindingen.
 
* Android: [https://juicessh.com/ JuiceSSH] of [https://connectbot.org/ ConnectBot]. Installeer [https://mosh.org/ Mosh] (mobile Shell) bij niet-stabiele verbindingen.
 
[/nl]
 
[/nl]
=== Recommended file transfer clients ===
+
=== [en]Recommended file transfer clients[/en][nl]Aangeraden software voor bestandsoverdracht[/nl] ===
 +
[en]
 
* Windows: [http://mobaxterm.mobatek.net/ MobaXterm] or [https://winscp.net WinSCP]
 
* Windows: [http://mobaxterm.mobatek.net/ MobaXterm] or [https://winscp.net WinSCP]
 
* Linux: scp
 
* Linux: scp
Line 36: Line 36:
 
[/en]
 
[/en]
 
[nl]
 
[nl]
===  Aangeraden software voor bestandsoverdracht ===
 
 
* Windows: [http://mobaxterm.mobatek.net/ MobaXterm] of [https://winscp.net WinSCP]
 
* Windows: [http://mobaxterm.mobatek.net/ MobaXterm] of [https://winscp.net WinSCP]
 
* Linux: scp
 
* Linux: scp
Line 42: Line 41:
 
[/nl]
 
[/nl]
  
 +
 +
=== [en]SSH tips and settings[/en][nl]SSH Instellingen en tips[/nl] ===
 
[en]
 
[en]
=== SSH tips and settings ===
 
 
Ssh can be used for:
 
Ssh can be used for:
 
* port forwarding on another host
 
* port forwarding on another host
Line 53: Line 53:
  
 
[nl]
 
[nl]
=== SSH Instellingen en tips ===
 
 
Voor nuttige tips voor het efficient gebruik van SSH, zie [http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html dit artikel].
 
Voor nuttige tips voor het efficient gebruik van SSH, zie [http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html dit artikel].
 
[/nl]
 
[/nl]
  
 +
 +
=== [en]Preventing disconnects[/en] [nl]Verbindingsproblemen voorkomen[/nl] ===
 
[en]
 
[en]
=== Preventing disconnects ===
 
 
In case you experience connectivity issues using ssh, use the following settings for your ssh-client. This can be done by adding the following lines to the config file .ssh/config (or /etc/ssh/ssh_config):
 
In case you experience connectivity issues using ssh, use the following settings for your ssh-client. This can be done by adding the following lines to the config file .ssh/config (or /etc/ssh/ssh_config):
 
[/en]
 
[/en]
 
[nl]
 
[nl]
=== Verbindingsproblemen voorkomen ===
 
 
Als je ervaart dat de ssh-verbinding zo nu en dan niet meer reageert, gebruik dan de volgende ssh-client instellingen. Zet onderstaande regels in het configuratiebestand .ssh/config (of /etc/ssh/ssh_config):
 
Als je ervaart dat de ssh-verbinding zo nu en dan niet meer reageert, gebruik dan de volgende ssh-client instellingen. Zet onderstaande regels in het configuratiebestand .ssh/config (of /etc/ssh/ssh_config):
 
[/nl]
 
[/nl]

Latest revision as of 11:11, 26 March 2020

SSH Secure Shell

SSH is used to get a secure terminal-connection to a login server. All Linux loginservers can be reached with SSH client software, not only on the standard port 22, but also on ports 80 and 443.


Recommended ssh client software

  • Windows:
    • MobaXterm. From the MobaXterm website: "MobaXterm is an enhanced terminal for Windows with an X11 server, a tabbed SSH client and several other network tools for remote computing (VNC, RDP, telnet, rlogin). MobaXterm brings all the essential Unix commands to Windows desktop, in a single portable exe file which works out of the box." The support of OpenGL could also be a reason to start using MobaXterm. If you use it professionally, you should consider subscribing to MobaXterm Professional Edition. MobaXterm is available on the S-disc.
    • Mosh (mobile Shell) when roaming and intermittent connections.
    • PuTTY.
    • The OpenSSH client provided by Cygwin.
  • Linux: Your computer should have ssh installed by default. Otherwise, install the openssh-client package. Install Mosh (mobile Shell) when roaming or having intermittent connections.
  • OS X: the ssh client should be available on your Mac. For graphical/X11 functionality one can install XQuartz. Install Mosh (mobile Shell) when roaming or having intermittent connections.
  • Android: JuiceSSH or ConnectBot. Install Mosh (mobile Shell) when roaming or having intermittent connections.

Recommended file transfer clients


SSH tips and settings

Ssh can be used for:

  • port forwarding on another host
  • proxying for example web traffic
  • almost complete vpn functionality

Please consult this article for some excellent tips on how to use and configure your ssh client.


Preventing disconnects

In case you experience connectivity issues using ssh, use the following settings for your ssh-client. This can be done by adding the following lines to the config file .ssh/config (or /etc/ssh/ssh_config):

TCPKeepAlive no
ServerAliveInterval 60
ServerAliveCountMax 10