LINUXOPOLIS # 10-FEBRUARY-2020 ~ SSH


SSH

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home
screenshot by willi glenz
vim ~/.config/fish/function/gssh.fish

function gssh --description 'ssh'
    clear; echo
    echo '=========================================================================='
    echo '                                   SSH                                    '
    echo '=========================================================================='
    echo 'server                                                                    '
    echo '--------------------------------------------------------------------------'
    echo '     $ apt-cache search "^ssh" | less                                     '
    echo '     $ apt-cache show ssh                                                 '
    echo '     # apt install ssh                                                    '
    echo ' (a) # raspi-config                                                       '
    echo ' (b) # touch /boot/ssh                                                    '
    echo ' (c) $ ip a                             hostname -I   ip a|n|r   ifconfig '
    echo '     # systemctl status ssh             status|show                       '
    echo '     # systemctl enable ssh             enable|disable                    '
    echo '     # systemctl start ssh              start|stop|reload|restart         '
    echo '--------------------------------------------------------------------------'
    echo 'client                                                                    '
    echo '--------------------------------------------------------------------------'
    echo ' $ ls ~/.ssh                                                              '
    echo ' $ ssh-keygen                                                             '
    echo ' $ ls ~/.ssh                                                              '
    echo ' $ ssh-add                                                                '
    echo ' $ ssh-copy-id pi@a.b.c.d                                                 '
    echo ' $ ssh pi@a.b.c.d    $ ssh -Y pi@a.b.c.d                                  '
    echo '=========================================================================='
    echo
end
SOURCES
 homepage ............................................................... openssh.com
 raspi-ssh ......................... raspberrypi.org/documentation/remote-access/ssh/
 fish ......................................... fishshell.com/docs/current/index.html
 picture ....................................... screenshoot by me ~ my gnome-desktop

Comments 0