SSh For develoers

Conoce al nerd

David Flores
@dmouse
david@consultoriadigital.mx
Linux, Drupal, Movíles, Periodismo, BackEnd, Web, Javascript, FrontEnd, Seguridad, HTML5, Python, evangelist, @LinuxPuebla, ...sometimes #Nerd Speaker

Don't more FTp




ssh is cool


Entorno


  • SSH Server
    • OpenSSH
  • SSH Client
    • Putty
    • WinSSH
    • SecureShell
 


$ ssh-keygen -t dsaGenerating public/private dsa key pair.
Enter file in which to save the key (/home/dmouse/.ssh/id_dsa): /home/dmouse/.ssh/sample_dsa
Enter passphrase (empty for no passphrase): sample
Enter same passphrase again: sample
Your identification has been saved in /home/dmouse/.ssh/sample_dsa.
Your public key has been saved in /home/dmouse/.ssh/sample_dsa.pub.
The key fingerprint is:
f2:aa:e4:36:d7:aa:2b:32:c6:08:cd:2c:42:a6:9e:a9 dmouse@Ryuk
The key's randomart image is:


$ cat ~/.ssh/sample_dsa$ cat ~/.ssh/sample_dsa.pub

Llave ssh

authorized_keys

 $ vim ~/.ssh/authorized_keys

 



$ vim ~/.ssh/configHost *
  Compression yes
  KeepAlive yes

host live hostname my-live-site.com user mi_awesome_user IdentityFile ~/.ssh/nc-dmouse.pem Port 1157


config file

 




 $ scp file host:~/

SCP

Tips / Tricks

SSH for Developers

By David Flores

SSH for Developers

  • 1,646