SSH
Building a Linux Habitatwilli glenz @ telegram
Published with SteemPeak
home
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