Home

Search IconIcon to open search

SSH

Connect to a server:

1
ssh -p 1234 user@127.0.0.1

Connect to Политех server:

1
2
ssh std-1746.ist.mospolytech.ru -l std
scp checkmark-outline.svg close-outline.svg std@std-1746.ist.mospolytech.ru:/home/std/www/lab6/img

Or with kitty:

1
kitty +kitten ssh std-1746.ist.mospolytech.ru -l std

Check if sshd is running:

1
ps aux | grep sshd

# See also

# Setup

Enable SSH root login on Debian Linux Server

For VirtualBox:

# Changing the default port

How to Change SSH Port Number in Linux

  1. Set Port in /etc/ssh/sshd_conf
  2. # systemctl restart sshd

# Useful