Skip to Main Content
SSH, The Secure Shell: The Definitive Guide, 2nd Edition
book

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

by Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes
May 2005
Intermediate to advanced content levelIntermediate to advanced
666 pages
21h 5m
English
O'Reilly Media, Inc.
Book available
Content preview from SSH, The Secure Shell: The Definitive Guide, 2nd Edition

ssh Options

OpenSSH

Tectia

Option

Meaning

 

-1

Use SSH-1 protocol only

 

-1(t |i)

Use SSH-1 protocol via ssh1 executable (t) or internal emulation (i)

 

-2

Use SSH-2 protocol only

-4

Use IPv4 addresses only

-6

Use IPv6 addresses only

-a

Disable agent forwarding

 

+a

Enable agent forwarding

 

-b bind_address

Select a network interface

 

-A

Enable agent forwarding

-c cipher

Select encryption cipher

 

-C

Enable compression

 

-C

Disable compression

 

+C

Enable compression

 

-d debug_spec

Enable debug messages

 

-D port

Do dynamic port forwarding

-e character

Set escape character

 

-E name

Use external key-provider name

-f

Fork into background

 

-fo

Fork into background once

-F filename

Use other configuration file

-g

Gateway locally forwarded ports

 

+g

Don’t gateway locally forwarded ports

 

-h

Print help message

-i filename

Select identity file

 

-I string

Initialization string for external-key provider

 

-I device

Choose smartcard device

 

-k

Disable Kerberos ticket forwarding

-l username

Remote username

-L port1:host2: port2

Local port forwarding

-m algorithm

Select MAC algorithm

 

-M

Do not execute remote command

-n

Redirect stdin from /dev/null

2

 

-N

Execute no remote command

-o “keyword value”

Set configuration keyword

-p port

Select TCP port number

-P

Use nonprivileged port

-q

Quiet mode

-R port1:host2: port2

Remote port forwarding

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
Network Security with OpenSSL

Network Security with OpenSSL

John Viega, Matt Messier, Pravir Chandra

Publisher Resources

ISBN: 0596008953Errata Page