La descarga está en progreso. Por favor, espere

La descarga está en progreso. Por favor, espere

Www.LinuxCabal.com.

Presentaciones similares


Presentación del tema: "Www.LinuxCabal.com."— Transcripción de la presentación:

1

2 Un Lugar Donde Confiar por el OpenBSD Project

3 Componentes ssh sshd scp ssh-copy-id ssh-keygen sshfs
Un Lugar Donde Confiar Componentes ssh sshd scp ssh-copy-id ssh-keygen sshfs ssh-keyscan sftp sftp-server ssh-agent ssh-askpass ssh-add

4 sshd_config Port 22 AddressFamily inet # any | inet6
Un Lugar Donde Confiar sshd_config Port 22 AddressFamily inet # any | inet6 ListenAddress # x.x.x.x:x.x.x.x:x.x.x.x Protocol # 1 | 1,2 | 2,1 HostKey /etc/ssh/ssh_rsa_host_key HostKey /etc/ssh/ssh_dsa_host_key SyslogFacility AUTH|DAEMON|USER|LOCAL[0-7] LogLevel INFO|QUIET|FATAL|ERROR|INFO|VERBOSE|DEBUG[1-3]

5 sshd_config LoginGraceTime 2m
Un Lugar Donde Confiar sshd_config LoginGraceTime 2m PermitRootLogin no|yes|without-password|forced-commands-only StrictMode yes|no #permisos de sus archivos MaxAuthTries 6 MaxSessions #de cada red PubKeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys IgnoreUserKnownHosts no

6 sshd_config IgnoreRhosts yes PasswordAuthentication yes
Un Lugar Donde Confiar sshd_config IgnoreRhosts yes PasswordAuthentication yes PermitEmptyPasswords no ChallengeResponseAuthentication yes UsePAM no AllowAgentForwarding yes X11Forwarding yes PrintLastLog yes

7 sshd_config TCPKeepAlive yes UseLogin no UsePriviledgeSeperation yes
Un Lugar Donde Confiar sshd_config TCPKeepAlive yes UseLogin no UsePriviledgeSeperation yes PermitUserEnvironment no Compression delayed ClientAliveInterval 0 ClientAliveCountMax 3 UseDNS yes

8 sshd_config PidFile /var/run/sshd.pid PermitTunnel no
Un Lugar Donde Confiar sshd_config PidFile /var/run/sshd.pid PermitTunnel no ChrootDirectory none Banner /etc/ssh/banner DenyUsers nombre1 nombre2 AllowUsers nombre1 nombre2 DenyGroups root bin daemon sys adm AllowGroups wheel

9 sshd_config SubSystem sftp /usr/lib/ssh/sftp-server Un Lugar Donde
Confiar sshd_config SubSystem sftp /usr/lib/ssh/sftp-server

10 ssh ssh [user@]host1 [Comando] ssh rrc@MiSistema
Un Lugar Donde Confiar ssh ssh [Comando] ssh ssh ls -al /home/rrc

11 scp scp [[user@]host1:]file1 ... [[user@]host2:]file2
Un Lugar Donde Confiar scp scp ... scp /Aquí/EsteArchivo scp /Aquí/EsteArchivo scp /Aquí/EsteArchivo scp . scp /DestinoLocal

12 Comandos disponibles:
Un Lugar sftp sftp Comandos disponibles: bye cd path chgrp grp path chmod mode path chown own path exit get [-P] remote-path [local-path] help lcd path lls [ls-options [path]] lmkdir path ln oldpath newpath lpwd ls [-1aflnrSt] [path] mkdir path put pwd quit rename oldpath newpath rm path ! ? Donde Confiar

13 sshfs Te permite a montear una carpeta remoto en tu filesystem
Un Lugar Donde Confiar sshfs Te permite a montear una carpeta remoto en tu filesystem para usar los continidos como fueran local. Usa sftp para su transporte

14 Un Lugar Donde Confiar

15 ssh-keyscan Para coleccionar las llaves facilmente de una lista
Un Lugar Donde Confiar ssh-keyscan Para coleccionar las llaves facilmente de una lista de sistemas

16 Un Lugar Donde Confiar

17 Un Lugar Donde Confiar ssh-keygen Para crear las llaves

18 Un Lugar Donde Confiar [DelMe@pridd .ssh]$ ssh-keygen
Generating public/private rsa key pair. Enter file in which to save the key (/home/DelMe/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/DelMe/.ssh/id_rsa. Your public key has been saved in /home/DelMe/.ssh/id_rsa.pub. The key fingerprint is: 21:0e:fa:04:e9:dc:0e:e9:c4:e6:fc:da:70:20:24:6b The key's randomart image is: +--[ RSA 2048]----+ | | | | |..o | | = | | ..o | .ssh]$ ls -al drwx DelMe DelMe :47 ./ drwxr-xr-x 6 DelMe DelMe :44 ../ -rw DelMe DelMe :47 id_rsa -rw-r--r DelMe DelMe :47 id_rsa.pub -rw-r--r DelMe DelMe :44 known_hosts

19 Para enviar tu llave a un sistema remoto
Un Lugar Donde Confiar ssh-copy-id Para enviar tu llave a un sistema remoto

20 Un Lugar Donde Confiar

21 Un Lugar Donde Confiar ¿Preguntas?

22 Un Lugar Donde Confiar ¡JUGAMOS!


Descargar ppt "Www.LinuxCabal.com."

Presentaciones similares


Anuncios Google