1
Linux - Remote connection via SSH June 2014 Linux - Remote connection via SSH Using SSH through a proxy: Also read The below manipulations are only relevant if you have an existing account on the PC you want to connect to and if a SSH server is installed. When using Linux the procedure is simpler as the client part is already configured (for most distributions). Open a terminal and type the following command: ssh login:password@the_PC_you_want_to_connect_to or login@(the_PC_you_want_to_connect_to) Once the client PC accepts the connection, you will be prompted to enter the password. To login in graphical mode (using X server) you must use the -X option Using SSH through a proxy: First have the proxy package installed: sudo aptitude install proxy-connect modify the/etc/ssh/ssh_config file to allow the use of SSH through the proxy: sudo echo 'ProxyCommand /usr/bin/connect-proxy -4 -S myproxy.domain.com:port %h %p' >> /etc/ssh/ssh_config Note: Make sure to replace myproxy.domain.com and the port by the name of your proxy and the port number. Also read Log in remotely with SSH (Windows) File transfer via SSH Delay SSH connection under Linux This document entitled « Linux - Remote connection via SSH » from Kioskea (en.kioskea.net ) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.

Linux Remote Connection via Ssh 604 n6pcop

  • Upload
    harish

  • View
    8

  • Download
    3

Embed Size (px)

DESCRIPTION

LINUX WITH SSH

Citation preview

  • Linux - Remote connection via SSHJune 2014

    Linux - Remote connection via SSHUsing SSH through a proxy:Also read

    The below manipulations are only relevant if you have an existing account on the PC you want to connect toand if a SSH server is installed.

    When using Linux the procedure is simpler as the client part is already configured (for most distributions).Open a terminal and type the following command:

    ssh login:password@the_PC_you_want_to_connect_toor

    login@(the_PC_you_want_to_connect_to)Once the client PC accepts the connection, you will be prompted to enter the password.To login in graphical mode (using X server) you must use the -X option

    Using SSH through a proxy:First have the proxy package installed:

    sudo aptitude install proxy-connectmodify the/etc/ssh/ssh_config file to allow the use of SSH through the proxy:sudo echo 'ProxyCommand /usr/bin/connect-proxy -4 -S myproxy.domain.com:port %h %p' >> /etc/ssh/ssh_config

    Note: Make sure to replace myproxy.domain.com and the port by the name of your proxy and the port number.

    Also readLog in remotely with SSH (Windows)File transfer via SSHDelay SSH connection under Linux

    This document entitled Linux - Remote connection via SSH from Kioskea (en.kioskea.net) is made available under the Creative Commons license.You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.