W. Glenz avatar

LINUXOPOLIS # 10-FEBRUARY-2020 ~ SSH

wglenz

Published: 10 Feb 2020 › Updated: 10 Feb 2020LINUXOPOLIS # 10-FEBRUARY-2020 ~ SSH

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

Leave LINUXOPOLIS # 10-FEBRUARY-2020 ~ SSH to:

Written by

Linux • Debian • Bash • Java

Read more #linux posts


Best Posts From W. Glenz

We have not curated any of wglenz's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From W. Glenz