SlideShare a Scribd company logo
The server's host key was not found in the cache. You have no guarantee that the
server is the computer you think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 1024 94:3c:9e:2b:23:df:bd:53:b4:ad:f1:5f:4e:2f:9d:ba
Understanding SSH
SSH is a cryptographically protected remote login protocol that replaces insecure telnet and
rlogin protocols. It provides strong protection against password sniffing and third party session
monitoring, better protecting your authentication credentials and privacy. In addition, SSH
offers additional authentication methods that are considered more secure than passwords,
such as public key authentication and extensive protection against spoofing.
Authentication in SSH
SSH servers offer the client a selection of authentication methods. The server advertises what it
supports, and the client attempts to authenticate over each method that it can support.
Generally, the client will choose methods that are the least intrusive to the user, if they are
available. In most cases, the client provides the option to choose which methods can be used.
Verifying the Host Key
If you are using an SSH client to connect to a server for the first time, you will probably see a
message looking something like this:
This is a feature of the SSH protocol. It is designed to protect you against a network attack
known as spoofing: secretly redirecting your connection to a different computer, so that you
send your password to the wrong machine. Using this technique, an attacker would be able to
learn the password that guards your login account, and could then log in as if they were you
and use the account for their own purposes.
To prevent this attack, each server has a unique identifying code, called a host key. These keys
prevent a server from forging another server’s key. If you connect to a server and you receive
an unexpected host key, an SSH client can warn you that the server may have been switched
and that a spoofing attack might be underway.
An SSH client records the host key for each server you connect to. Every time you connect to a
server, it compares the server’s host key to the host key you received the last time you
connected. If the keys differ, you will receive a warning and a chance to abandon your
connection before you enter any private information such as a password.
However, when you connect to a server for the first time, an SSH client has no way of telling
whether the host key is the right one or not. So it gives the warning shown above, and asks you
whether you want to trust this host key or not.
Whether or not to trust the host key is your choice. If you are connecting within a company
network, you might feel that all the network users are on the same side and spoofing attacks
are unlikely, so you might choose to trust the key without checking it. If you are connecting
across a hostile network (such as the Internet), you should check with your system
administrator, perhaps by telephone or in person. (Some modern servers have more than one
host key. If the system administrator sends you more than one fingerprint, you should make
sure the one that the client shows you is on the list, but it doesn’t matter which one it is.)
Encryption in SSH
SSH clients and servers can use a number of encryption methods. In the older SSH-1 protocol,
3DES and DES are typically used. SSH-2 adds support for additional encryption methods
including AES and Blowfish. By default, AES is used if supported by the server. While AES is
considered to be highly secure, AES encryption requires substantial processor overhead.
Blowfish is also considered secure, but with less computational overhead, it’s also theoretically
easier to perform a brute-force attack. Depending on your security and performance
requirements, you may wish to configure your client to prefer the Blowfish algorithm. 3DES and
DES are used with SSH-1 servers. DES is widely regarded as insecure, as the resources to
perform an exhaustive brute-force attack have been well within the realm of commercial
feasibility for some time.
SSH Protocols
Two major versions of the SSH protocol are in widespread use. The SSH-1 protocol is an older
version that’s still widely supported despite its age and some technical issues. The SSH-2
protocol has become the de-facto installation standard, though some systems only support
SSH-1. In addition, many sites that use SSH-2 disable the SSH-1 protocol for security reasons.
A client’s typical default setting is to prefer SSH-2 and negotiate down to SSH-1 if SSH-2 is not
available. If the majority of systems you connect to are using SSH-2, you may wish to change
this setting.
Compression
SSH supports data stream compression between the client and the server. On slow links, this
may increase throughput, while in faster connections the added CPU overhead may actually
result in slower transfers, particularly depending on the data type you’re transferring. Large
text files may still benefit significantly, while binaries may transfer more slowly. You may want
to experiment to find what works best in your situation. Compression may also improve
security slightly, in part by rendering known cyphertext attacks more difficult and by providing
less data for cryptanalysis.
Adapted from: http://winscp.net/eng/docs/ssh

More Related Content

PDF
How to increase security with SSH
PPTX
PPT
Cryptography - Overview
PDF
Transport Layer Security
PDF
SSL/TLS Handshake
PPTX
Transport layer security
PPTX
Introduction to SSH & PGP
PPTX
Secure SHell
How to increase security with SSH
Cryptography - Overview
Transport Layer Security
SSL/TLS Handshake
Transport layer security
Introduction to SSH & PGP
Secure SHell

What's hot (20)

PPTX
Secure shell
PDF
SSH - Secure Shell
PPTX
Secure Shell(ssh)
PPTX
Transport Layer Security
PPT
Ssh And Rlogin
PDF
Transport Layer Security - Mrinal Wadhwa
PPT
Introduction to Secure Sockets Layer
PPT
Secure shell protocol
PPTX
Rsa algorithm (rivest shamir-adleman)
PPT
Secure shell ppt
PPT
Introduction to SSH
PPTX
Sequere socket Layer
PPTX
Ssl and tls
PPTX
Responder PPT
PPTX
Avoid from SSH attacks
PPTX
All you need to know about transport layer security
PPTX
SSL/TLS Introduction with Practical Examples Including Wireshark Captures
PDF
Data encryption algorithm(edit)
PDF
Introduction to and survey of TLS Security
PPT
Secure Sockets Layer and Transport Layer Security
Secure shell
SSH - Secure Shell
Secure Shell(ssh)
Transport Layer Security
Ssh And Rlogin
Transport Layer Security - Mrinal Wadhwa
Introduction to Secure Sockets Layer
Secure shell protocol
Rsa algorithm (rivest shamir-adleman)
Secure shell ppt
Introduction to SSH
Sequere socket Layer
Ssl and tls
Responder PPT
Avoid from SSH attacks
All you need to know about transport layer security
SSL/TLS Introduction with Practical Examples Including Wireshark Captures
Data encryption algorithm(edit)
Introduction to and survey of TLS Security
Secure Sockets Layer and Transport Layer Security
Ad

Viewers also liked (14)

PDF
Portfolio Ilham Chaeradipura
PDF
Mathematical Theory
PDF
Ip sec technote-en
DOCX
السيرة الذاتية 2016
PDF
Cis bind benchmark_v1.0
DOC
Kiểm tra 1 tiết lớp 11 lần 3
DOCX
Prakash tiwari (c[1].v)
PDF
ดนัย
PPT
la finestra del costat
PDF
Metodologia examinarii valorii agronomice
DOCX
Mohd fayez tamimi 2016 english (2)
DOC
Gioi han lien tuc tb
DOC
Kiểm tra 1 tiết lớp 11 lần 3
PPTX
Effective selling techniques
Portfolio Ilham Chaeradipura
Mathematical Theory
Ip sec technote-en
السيرة الذاتية 2016
Cis bind benchmark_v1.0
Kiểm tra 1 tiết lớp 11 lần 3
Prakash tiwari (c[1].v)
ดนัย
la finestra del costat
Metodologia examinarii valorii agronomice
Mohd fayez tamimi 2016 english (2)
Gioi han lien tuc tb
Kiểm tra 1 tiết lớp 11 lần 3
Effective selling techniques
Ad

Similar to Understanding ssh (20)

PPTX
Ssh (The Secure Shell)
PPTX
Remote Accesserver, Introduction(Part1).pptx
PPTX
SSh_part_1.pptx
PPTX
Creating SSH Key.pptx
PDF
Windowshadoop
PDF
SSH vs SSL The Key Difference for Secure GPU Server and More.pdf
PDF
Discuss what is SSH and the advantages and disadvantages of using it.pdf
PDF
SSH Key Management
PPTX
Telnet & Secure Shell
PPTX
TLS - Transport Layer Security
PPT
Ssh
PPT
Presentation nix
PPT
Presentation nix
PPT
Introduction to distributed security concepts and public key infrastructure m...
PPT
ssl
PDF
Countermeasure against Timing Attack on SSH Using Random Delay - Arief Karfia...
PDF
Details about the SSL Certificate
ODP
CISSP Week 21
PPT
What is SSL ? The Secure Sockets Layer (SSL) Protocol
PPT
Ssh (The Secure Shell)
Remote Accesserver, Introduction(Part1).pptx
SSh_part_1.pptx
Creating SSH Key.pptx
Windowshadoop
SSH vs SSL The Key Difference for Secure GPU Server and More.pdf
Discuss what is SSH and the advantages and disadvantages of using it.pdf
SSH Key Management
Telnet & Secure Shell
TLS - Transport Layer Security
Ssh
Presentation nix
Presentation nix
Introduction to distributed security concepts and public key infrastructure m...
ssl
Countermeasure against Timing Attack on SSH Using Random Delay - Arief Karfia...
Details about the SSL Certificate
CISSP Week 21
What is SSL ? The Secure Sockets Layer (SSL) Protocol

Recently uploaded (20)

PDF
RMMM.pdf make it easy to upload and study
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Institutional Correction lecture only . . .
PDF
01-Introduction-to-Information-Management.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
GDM (1) (1).pptx small presentation for students
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Basic Mud Logging Guide for educational purpose
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
RMMM.pdf make it easy to upload and study
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Institutional Correction lecture only . . .
01-Introduction-to-Information-Management.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Supply Chain Operations Speaking Notes -ICLT Program
TR - Agricultural Crops Production NC III.pdf
O7-L3 Supply Chain Operations - ICLT Program
Final Presentation General Medicine 03-08-2024.pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
GDM (1) (1).pptx small presentation for students
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial disease of the cardiovascular and lymphatic systems
Basic Mud Logging Guide for educational purpose
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Module 4: Burden of Disease Tutorial Slides S2 2025
Pharmacology of Heart Failure /Pharmacotherapy of CHF
O5-L3 Freight Transport Ops (International) V1.pdf

Understanding ssh

  • 1. The server's host key was not found in the cache. You have no guarantee that the server is the computer you think it is. The server's rsa2 key fingerprint is: ssh-rsa 1024 94:3c:9e:2b:23:df:bd:53:b4:ad:f1:5f:4e:2f:9d:ba Understanding SSH SSH is a cryptographically protected remote login protocol that replaces insecure telnet and rlogin protocols. It provides strong protection against password sniffing and third party session monitoring, better protecting your authentication credentials and privacy. In addition, SSH offers additional authentication methods that are considered more secure than passwords, such as public key authentication and extensive protection against spoofing. Authentication in SSH SSH servers offer the client a selection of authentication methods. The server advertises what it supports, and the client attempts to authenticate over each method that it can support. Generally, the client will choose methods that are the least intrusive to the user, if they are available. In most cases, the client provides the option to choose which methods can be used. Verifying the Host Key If you are using an SSH client to connect to a server for the first time, you will probably see a message looking something like this: This is a feature of the SSH protocol. It is designed to protect you against a network attack known as spoofing: secretly redirecting your connection to a different computer, so that you send your password to the wrong machine. Using this technique, an attacker would be able to learn the password that guards your login account, and could then log in as if they were you and use the account for their own purposes. To prevent this attack, each server has a unique identifying code, called a host key. These keys prevent a server from forging another server’s key. If you connect to a server and you receive an unexpected host key, an SSH client can warn you that the server may have been switched and that a spoofing attack might be underway.
  • 2. An SSH client records the host key for each server you connect to. Every time you connect to a server, it compares the server’s host key to the host key you received the last time you connected. If the keys differ, you will receive a warning and a chance to abandon your connection before you enter any private information such as a password. However, when you connect to a server for the first time, an SSH client has no way of telling whether the host key is the right one or not. So it gives the warning shown above, and asks you whether you want to trust this host key or not. Whether or not to trust the host key is your choice. If you are connecting within a company network, you might feel that all the network users are on the same side and spoofing attacks are unlikely, so you might choose to trust the key without checking it. If you are connecting across a hostile network (such as the Internet), you should check with your system administrator, perhaps by telephone or in person. (Some modern servers have more than one host key. If the system administrator sends you more than one fingerprint, you should make sure the one that the client shows you is on the list, but it doesn’t matter which one it is.) Encryption in SSH SSH clients and servers can use a number of encryption methods. In the older SSH-1 protocol, 3DES and DES are typically used. SSH-2 adds support for additional encryption methods including AES and Blowfish. By default, AES is used if supported by the server. While AES is considered to be highly secure, AES encryption requires substantial processor overhead. Blowfish is also considered secure, but with less computational overhead, it’s also theoretically easier to perform a brute-force attack. Depending on your security and performance requirements, you may wish to configure your client to prefer the Blowfish algorithm. 3DES and DES are used with SSH-1 servers. DES is widely regarded as insecure, as the resources to perform an exhaustive brute-force attack have been well within the realm of commercial feasibility for some time.
  • 3. SSH Protocols Two major versions of the SSH protocol are in widespread use. The SSH-1 protocol is an older version that’s still widely supported despite its age and some technical issues. The SSH-2 protocol has become the de-facto installation standard, though some systems only support SSH-1. In addition, many sites that use SSH-2 disable the SSH-1 protocol for security reasons. A client’s typical default setting is to prefer SSH-2 and negotiate down to SSH-1 if SSH-2 is not available. If the majority of systems you connect to are using SSH-2, you may wish to change this setting. Compression SSH supports data stream compression between the client and the server. On slow links, this may increase throughput, while in faster connections the added CPU overhead may actually result in slower transfers, particularly depending on the data type you’re transferring. Large text files may still benefit significantly, while binaries may transfer more slowly. You may want to experiment to find what works best in your situation. Compression may also improve security slightly, in part by rendering known cyphertext attacks more difficult and by providing less data for cryptanalysis. Adapted from: http://winscp.net/eng/docs/ssh