en:navody:ssh:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:navody:ssh:start [09.08.2016 18:47]
danecek@cesnet.cz
en:navody:ssh:start [10.11.2017 11:16]
danecek@cesnet.cz
Line 5: Line 5:
 It also possible to connect to the server via ssh protocol using command line (bash), eventually it is possible to insert the command as a parameter (it is then executed and the connection is terminated). It also possible to connect to the server via ssh protocol using command line (bash), eventually it is possible to insert the command as a parameter (it is then executed and the connection is terminated).
  
-Available commands are provided in the ''/​usr/​bin''​ directory. It is also possible to use standard bash shell tools, such as pipe command. If you need to install something else please contact customer support [[du-support@cesnet.cz|du-support(at)cesnet.cz]]. The shell is generally designed only for manipulation with data but not for calculations etc.+Available commands are provided in the ''/​usr/​bin''​ directory. It is also possible to use standard bash shell tools, such as pipe command. If you need to install something else please contact customer support [[support@cesnet.cz|support(at)cesnet.cz]]. The shell is generally designed only for manipulation with data but not for calculations etc.
  
 Server supports client connection only via ssh protocol ver. 2, which is usually default option. In case that the client has default setup version at ssh protocol version 1, it is necessary manually redefine. In command line is possible to use parameter "​-2",​ in Putty is necessary to set "​Preferred SSH protocol version"​ to the value "​2",​ eventually "2 only". Server supports client connection only via ssh protocol ver. 2, which is usually default option. In case that the client has default setup version at ssh protocol version 1, it is necessary manually redefine. In command line is possible to use parameter "​-2",​ in Putty is necessary to set "​Preferred SSH protocol version"​ to the value "​2",​ eventually "2 only".
Line 77: Line 77:
   * [[:​en:​navody:​ssh:​dmget|dmget]]   * [[:​en:​navody:​ssh:​dmget|dmget]]
   * [[:​en:​navody:​ssh:​dmfind|dmfind]]   * [[:​en:​navody:​ssh:​dmfind|dmfind]]
-\\ 
----- 
  
 +----
 ==== Executing the commands via Putty tool ==== ==== Executing the commands via Putty tool ====
  
 {{anchor:​putty:​}} {{anchor:​putty:​}}
  
-Executing the command is in Putty defined in the "​Connection->​SSH"​ category, where we can insert required command into the row "​Remote command"​.+Executing the command is in Putty defined in the "​Connection->​SSH"​ category, where we can insert required command into the line "​Remote command"​.
 After the command execution is the connection automatically terminated, which will cause (default settings), that the window is closed and the displayed output is lost. It is necessary to select in the Session category "Close window on exit" to "​Never,​ to make possible to read the output. After the command execution is the connection automatically terminated, which will cause (default settings), that the window is closed and the displayed output is lost. It is necessary to select in the Session category "Close window on exit" to "​Never,​ to make possible to read the output.
  
Line 96: Line 95:
  
 {{:​cs:​navody:​ssh:​03-connection-ssh.png?​500 |}} {{:​cs:​navody:​ssh:​03-connection-ssh.png?​500 |}}
 +
 \\ \\
 +
 <​note>​Midnight Commander (MC) contain module for "File transfer over shell filesystem"​ (FISH), it concerns the technology, which does not use SFTP protocol, but it requires the possibility to send general commands via SSH terminal access. <​note>​Midnight Commander (MC) contain module for "File transfer over shell filesystem"​ (FISH), it concerns the technology, which does not use SFTP protocol, but it requires the possibility to send general commands via SSH terminal access.
 \\ \\
 At the CESNET Data Storage is from the reason of security issues allowed to insert only [[:​en:​navody:​ssh:​start|limited set of commands]] and the FISH technology is thus **not available** - we recommend to use SSHFS as more universal substitution,​ it provides an access to the files not only for MC, but also for another application as well.</​note>​ At the CESNET Data Storage is from the reason of security issues allowed to insert only [[:​en:​navody:​ssh:​start|limited set of commands]] and the FISH technology is thus **not available** - we recommend to use SSHFS as more universal substitution,​ it provides an access to the files not only for MC, but also for another application as well.</​note>​
Last modified:: 03.03.2020 15:34