LINUXOPOLIS # 11-FEBRUARY-2020 ~ SSH-UPDATEsteemCreated with Sketch.

in linux •  5 years ago  (edited)

SSH

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home previous

screenshot by willi glenz

vim ~/.config/fish/function/gssh.fish

function gssh --description 'ssh'
    clear; echo
    echo '=========================================================================='
    echo '                                   SSH                                    '
    echo ' /etc/ssh/sshd_config                                    port 22 rfc 4253 '
    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 '     # vim /etc/ssh/sshd_config                                           '
    echo '--------------------------------------------------------------------------'
    echo ' client                                                                   '
    echo '--------------------------------------------------------------------------'
    echo '     $ ls ~/.ssh                                                          '
    echo '     $ ssh-keygen                                                         '
    echo '     $ ssh-keygen -l                                                      '
    echo '     $ ls ~/.ssh                                                          '
    echo '     $ ssh-add                                                            '
    echo '     $ ssh-copy-id [email protected]                                             '
    echo '     $ ssh [email protected]    $ ssh -Y [email protected]                              '
    echo '--------------------------------------------------------------------------'
    echo ' tutorials                                                                '
    echo '--------------------------------------------------------------------------'
    echo '     traversy media                                  youtu.be/hQWRp-FdTpc '
    echo '     man-pages                                 $ man ssh sshd sshd_config '
    echo '=========================================================================='
    echo
end
SOURCES
 homepage ............................................................... openssh.com
 fish ......................................... fishshell.com/docs/current/index.html
 man-pages  .............................................. $ man ssh sshd sshd_config
 raspi ............................. raspberrypi.org/documentation/remote-access/ssh/
 rfc .......................... wikiwand.com/en/Secure_Shell#/Standards_documentation
 traversy media ...............................................  youtu.be/hQWRp-FdTpc
 wikiwand .............................................. wikiwand.com/en/Secure_Shell
 picture ....................................... screenshoot by me ~ my gnome-desktop
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!