LINUXOPOLIS # 10-FEBRUARY-2020 ~ SSHsteemCreated with Sketch.

in linux •  5 years ago  (edited)

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 [email protected]                                                 '
    echo ' $ ssh [email protected]    $ ssh -Y [email protected]                                  '
    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
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!