Enviar búsqueda
Cargar
Dicas de SSH
•
0 recomendaciones
•
348 vistas
Almir Mendes
Seguir
Palestra ministrada no Giran Siege
Leer menos
Leer más
Vista de diapositivas
Denunciar
Compartir
Vista de diapositivas
Denunciar
Compartir
1 de 24
Descargar ahora
Descargar para leer sin conexión
Recomendados
As novidades do WordPress 3.0 para criativos
As novidades do WordPress 3.0 para criativos
Paulino Michelazzo
Advanced Shell Scripting
Advanced Shell Scripting
Alessandro Manfredi
Perl 5.10 on OSDC.tw 2009
Perl 5.10 on OSDC.tw 2009
scweng
RG講義_SSH
RG講義_SSH
Shuya Osaki
Popstat1 sh
Popstat1 sh
Ben Pope
01 linux basics
01 linux basics
Robson Levi
DevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung Foo
brian_dailey
Cli
Cli
Koetlisi Theko
Recomendados
As novidades do WordPress 3.0 para criativos
As novidades do WordPress 3.0 para criativos
Paulino Michelazzo
Advanced Shell Scripting
Advanced Shell Scripting
Alessandro Manfredi
Perl 5.10 on OSDC.tw 2009
Perl 5.10 on OSDC.tw 2009
scweng
RG講義_SSH
RG講義_SSH
Shuya Osaki
Popstat1 sh
Popstat1 sh
Ben Pope
01 linux basics
01 linux basics
Robson Levi
DevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung Foo
brian_dailey
Cli
Cli
Koetlisi Theko
Linux system admin
Linux system admin
Mohammed Zainul Abiddin
Embedding perl
Embedding perl
Marian Marinov
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Gagah Arifianto
Comets notes
Comets notes
Ilija Dukovski
The groovy puzzlers (as Presented at JavaOne 2014)
The groovy puzzlers (as Presented at JavaOne 2014)
GroovyPuzzlers
R で解く FizzBuzz 問題
R で解く FizzBuzz 問題
Kosei ABE
01c shell
01c shell
Kevin Lee
Jsconf.us.2013
Jsconf.us.2013
Peter Higgins
Linux Command Line
Linux Command Line
Prima Yogi Loviniltra
How to send files to remote server via ssh in php
How to send files to remote server via ssh in php
Andolasoft Inc
Strings
Strings
Cody Mims
Presenting Seq for Node.js
Presenting Seq for Node.js
Douglas Muth
Vim basic
Vim basic
Thanabodee Charoenpiriyakij
Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60
Felipe Ronchi Brigido
sms frame work
sms frame work
Arulalan T
Vita Morgana
Vita Morgana
Aural Terrains
Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
lutter
大海原の小さなイルカ
大海原の小さなイルカ
Tomona Nanase
Differences between punctuation marks
Differences between punctuation marks
Sonia Mingaud
An Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With Composer
Oomph, Inc.
Dtalk shell
Dtalk shell
Miha Mencin
SSH: Seguranca no Acesso Remoto
SSH: Seguranca no Acesso Remoto
Tiago Cruz
Más contenido relacionado
La actualidad más candente
Linux system admin
Linux system admin
Mohammed Zainul Abiddin
Embedding perl
Embedding perl
Marian Marinov
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Gagah Arifianto
Comets notes
Comets notes
Ilija Dukovski
The groovy puzzlers (as Presented at JavaOne 2014)
The groovy puzzlers (as Presented at JavaOne 2014)
GroovyPuzzlers
R で解く FizzBuzz 問題
R で解く FizzBuzz 問題
Kosei ABE
01c shell
01c shell
Kevin Lee
Jsconf.us.2013
Jsconf.us.2013
Peter Higgins
Linux Command Line
Linux Command Line
Prima Yogi Loviniltra
How to send files to remote server via ssh in php
How to send files to remote server via ssh in php
Andolasoft Inc
Strings
Strings
Cody Mims
Presenting Seq for Node.js
Presenting Seq for Node.js
Douglas Muth
Vim basic
Vim basic
Thanabodee Charoenpiriyakij
Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60
Felipe Ronchi Brigido
sms frame work
sms frame work
Arulalan T
Vita Morgana
Vita Morgana
Aural Terrains
Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
lutter
大海原の小さなイルカ
大海原の小さなイルカ
Tomona Nanase
Differences between punctuation marks
Differences between punctuation marks
Sonia Mingaud
An Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With Composer
Oomph, Inc.
La actualidad más candente
(20)
Linux system admin
Linux system admin
Embedding perl
Embedding perl
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Comets notes
Comets notes
The groovy puzzlers (as Presented at JavaOne 2014)
The groovy puzzlers (as Presented at JavaOne 2014)
R で解く FizzBuzz 問題
R で解く FizzBuzz 問題
01c shell
01c shell
Jsconf.us.2013
Jsconf.us.2013
Linux Command Line
Linux Command Line
How to send files to remote server via ssh in php
How to send files to remote server via ssh in php
Strings
Strings
Presenting Seq for Node.js
Presenting Seq for Node.js
Vim basic
Vim basic
Comunicação Bluetooth Entre Python e PyS60
Comunicação Bluetooth Entre Python e PyS60
sms frame work
sms frame work
Vita Morgana
Vita Morgana
Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
大海原の小さなイルカ
大海原の小さなイルカ
Differences between punctuation marks
Differences between punctuation marks
An Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With Composer
Similar a Dicas de SSH
Dtalk shell
Dtalk shell
Miha Mencin
SSH: Seguranca no Acesso Remoto
SSH: Seguranca no Acesso Remoto
Tiago Cruz
Tomáš Čorej - OpenSSH
Tomáš Čorej - OpenSSH
webelement
Mac OS X Lion で作る WordPress local 環境
Mac OS X Lion で作る WordPress local 環境
Yuriko IKEDA
Ssh cookbook v2
Ssh cookbook v2
Jean-Marie Renouard
Ssh cookbook
Ssh cookbook
Jean-Marie Renouard
First there was the command line
First there was the command line
Adrian Cardenas
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Vi Grey
Shell scripting
Shell scripting
Geeks Anonymes
Love The Terminal
Love The Terminal
Mike West
ssh_tricks
ssh_tricks
vide80
Really useful linux commands
Really useful linux commands
Michael J Geiser
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
Felipe Prado
Containers for sysadmins
Containers for sysadmins
Carlos de Alfonso Laguna
Malcon2017
Malcon2017
Andriy Brukhovetskyy
Linux 系統管理與安全:基本 Linux 系統知識
Linux 系統管理與安全:基本 Linux 系統知識
維泰 蔡
Vagrant file samples for various Hadoop distributions
Vagrant file samples for various Hadoop distributions
Akshay Gore
Learning the command line
Learning the command line
Adrian Cardenas
Backups
Backups
Svet Ivantchev
Integração contínua com Hudson CI
Integração contínua com Hudson CI
Almir Mendes
Similar a Dicas de SSH
(20)
Dtalk shell
Dtalk shell
SSH: Seguranca no Acesso Remoto
SSH: Seguranca no Acesso Remoto
Tomáš Čorej - OpenSSH
Tomáš Čorej - OpenSSH
Mac OS X Lion で作る WordPress local 環境
Mac OS X Lion で作る WordPress local 環境
Ssh cookbook v2
Ssh cookbook v2
Ssh cookbook
Ssh cookbook
First there was the command line
First there was the command line
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Shell scripting
Shell scripting
Love The Terminal
Love The Terminal
ssh_tricks
ssh_tricks
Really useful linux commands
Really useful linux commands
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
DEF CON 27 - PATRICK WARDLE - harnessing weapons of Mac destruction
Containers for sysadmins
Containers for sysadmins
Malcon2017
Malcon2017
Linux 系統管理與安全:基本 Linux 系統知識
Linux 系統管理與安全:基本 Linux 系統知識
Vagrant file samples for various Hadoop distributions
Vagrant file samples for various Hadoop distributions
Learning the command line
Learning the command line
Backups
Backups
Integração contínua com Hudson CI
Integração contínua com Hudson CI
Más de Almir Mendes
Software Livre, que história é essa?
Software Livre, que história é essa?
Almir Mendes
Arduino Project
Arduino Project
Almir Mendes
[Rock'n Rails] Deploying Rails Applications with Capistrano
[Rock'n Rails] Deploying Rails Applications with Capistrano
Almir Mendes
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Almir Mendes
Palestra "Do PHP ao Rails" - FOCAI
Palestra "Do PHP ao Rails" - FOCAI
Almir Mendes
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
Almir Mendes
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Almir Mendes
Palestra "Do PHP ao Rails"
Palestra "Do PHP ao Rails"
Almir Mendes
Arduino Project :: Giran Siege
Arduino Project :: Giran Siege
Almir Mendes
Palestra sobre AWK [Giran Siege]
Palestra sobre AWK [Giran Siege]
Almir Mendes
Palestra de SED - Stream Editor
Palestra de SED - Stream Editor
Almir Mendes
Palestra regex
Palestra regex
Almir Mendes
Palestra regex
Palestra regex
Almir Mendes
Palestra de PDO
Palestra de PDO
Almir Mendes
Distribuições Linux
Distribuições Linux
Almir Mendes
Entendendo como fazer um firewall pessoal
Entendendo como fazer um firewall pessoal
Almir Mendes
10+ Coisas Que Odeio Em Php
10+ Coisas Que Odeio Em Php
Almir Mendes
PHP Day - PHP para iniciantes
PHP Day - PHP para iniciantes
Almir Mendes
Más de Almir Mendes
(18)
Software Livre, que história é essa?
Software Livre, que história é essa?
Arduino Project
Arduino Project
[Rock'n Rails] Deploying Rails Applications with Capistrano
[Rock'n Rails] Deploying Rails Applications with Capistrano
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Palestra "Do PHP ao Rails" - FOCAI
Palestra "Do PHP ao Rails" - FOCAI
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Palestra "Do PHP ao Rails"
Palestra "Do PHP ao Rails"
Arduino Project :: Giran Siege
Arduino Project :: Giran Siege
Palestra sobre AWK [Giran Siege]
Palestra sobre AWK [Giran Siege]
Palestra de SED - Stream Editor
Palestra de SED - Stream Editor
Palestra regex
Palestra regex
Palestra regex
Palestra regex
Palestra de PDO
Palestra de PDO
Distribuições Linux
Distribuições Linux
Entendendo como fazer um firewall pessoal
Entendendo como fazer um firewall pessoal
10+ Coisas Que Odeio Em Php
10+ Coisas Que Odeio Em Php
PHP Day - PHP para iniciantes
PHP Day - PHP para iniciantes
Dicas de SSH
1.
Almir 'm3nd3s' @m3nd3s http://www.almirmendes.com almir.mendes@giran.com.br
http://www.flickr.com/photos/polarboy/2856319701
2.
Dicas http://www.flickr.com/photos/danielygo/4995689835
3.
Fingerprint $ ssh -A
192.168.3.11 -l root The authenticity of host '192.168.3.11 (192.168.3.11)' can't be established. RSA key fingerprint is a3:1e:e7:3e:22:86:3d:8a:5d:6b:cc:3d:ac:f7:87:2a. Are you sure you want to continue connecting (yes/no)?
4.
Mas porque? http://www.flickr.com/photos/98157122@N00/3274734764
5.
/////////
PORRA! Vai dizer que não sabia dessa!? Sei se eu quiser!!!! http://www.flickr.com/photos/atomtigerzoo/3821873510
6.
Acesso $ ssh m3nd3s@almirmendes.com #
ou $ ssh -l m3nd3s almirmendes.com
7.
Sussa! http://www.flickr.com/photos/dvdstelt/2384629157
8.
E agora? http://www.flickr.com/photos/kattanapilot/3336650785
9.
SSH Keys http://www.flickr.com/photos/practicalowl/256628505
10.
Gerando $ ssh-keygen -t
rsa -C “Minha Chave” -f m3nd3s $ ls . -rw------- 1 m3nd3s staff 1675 m3nd3s -rw-r--r-- 1 m3nd3s staff 397 m3nd3s.pub
11.
m3nd3s Chave PRIVADA!!!! m3nd3s.pub Chave publica
;)
12.
Ok, tá bom! É
SÓ ISSO?!?!
13.
Authorized Keys No servidor:
~/.ssh/authorized_keys2 # Permissão 600 ~/.ssh # Permissão 700
14.
Acesso s/ senha
$ ssh root@almirmendes.com $ ssh -A root@almirmendes.com Hum?!? propaga a chave http://www.flickr.com/photos/niallcorbet/5696478308
15.
Cmd Remoto $ ssh
m3nd3s@almirmendes.com 'touch ~/tmp/restart.txt' http://www.flickr.com/photos/sarahandmikeprobably/3330705509
16.
Debug ssh -v m3nd3s@almirmendes.com ssh
-vv m3nd3s@almirmendes.com http://www.flickr.com/photos/spacial/4636903821
17.
O que você
faria? 192.168.0.5:3000
18.
Port Forwarding ssh -v
-L 2222:localhost:22 root@almirmendes.com sleep 100 http://www.flickr.com/photos/ncreedplayer/4014247275
19.
SFTP $ sftp root@www.almirmendes.com:/tmp Connecting
to www.almirmendes.com... Changing to: /tmp sftp>
20.
Screen $ screen CTRL +
A + C CTRL + A + A CTRL + A + [num] CTRL + D
21.
Remote Pair
Programming Usuário 1: $ screen Usuário 2: $ screen -x
22.
O_o' $ tar zcvf
- /var/www | ssh m3nd3s@almirmendes.com "cat > backup.tar.gz" Hum?!?
23.
Referências $ man ssh $
man screen $ man scp $ man sftp
24.
Contatos Almir 'm3nd3s' @m3nd3s http://www.almirmendes.com almir.mendes@giran.com.br m3nd3s@gmail.com
Descargar ahora