Console Remote Access Clients > Console SSH Client >

 

SSH Configuration File

 

 

The configuration file is used to modify default values for the console ssh client. It must be a text file, named config, located in the %APPDATA%\PragmaSSH directory of any user using the console ssh client. Each option has a keyword that must be located on its own line followed by the desired value, separated by a whitespace character, either a space or tab. Not all options are supported by all ssh servers.

Many of these options are for advanced users.

These options can also be used on the command line to the sftp and scp clients using the -o option.

The following keywords are supported:

Keyword

Parameters

Function

batchmode

yes/no

turn off/on prompting for password, default is no

challengeresponseauthentication

 

tisauthentication alias

cipher

cipher name

assign the encryption algorithm

ciphers

comma separated list of ciphers to use

assign a list of encryption algorithms

compression

yes/no

enable/disable data

compressionlevel

number (1-9)

set the compression level

connectionattempts

number

number of times to attempt connection before failing

dsaauthentication

 

pubkeyauthentication alias

escapechar

character

ssh escape character, typically ~

fallbacktorsh

yes/no

fall back to rsh client if connection fails

forwardagent

yes/no

forward the connection to authentication agent on remote host

gatewayports

yes/no

specify whether remote systems can connect to locally forwarded ports

globalknownhostsfile2

filename

location of the known hosts file for ssh2

host

host/IP address

host to which to connect

hostbasedauthentication

yes/no

allow host based authentication for ssh2

hostkeyalgorithms

cipher list

server key types in order of preference for ssh2

hostkeyalias

filename

host name alias for known_hosts

hostname

host/IP address

alias for the host

identityfile

filename

identityfile alias for the ssh1 protocol

identityfile2

filename

identityfile alias for the ssh2 protocol

kbdinteractiveauthentication

yes/no

allow keyboard interactive authentication

kbdinteractivedevices

list

Keyboard-interactive authentication devices

keepalive

yes/no

send/don't send keep alive messages

localforward

x:host:y

assign a local port forwarding

loglevel

number

set how much information will be logged

macs

a comma separated list of macs to use

assign a list of macs algorithms

numberofpasswordprompts

number

number of login attempts before disconnected from server

passwordauthentication

yes/no

allow password authentication

port

tcp port

sshd port; usually 22

preferredauthentications

list

order that authentication types should be tried

protocol

1/2

specify whether to use ssh1 or ssh2

proxycommand

command

command to connect to proxy server, see Proxy Support

pubkeyauthentication

yes/no

ssh2 only - allow only RSA authentication

remoteforward

x:host:y

assign a remote port forwarding

rhostsauthentication

yes/no

authentication based on .rhosts file alone

rhostsrsaauthentication

yes/no

authentication based on .rhosts file or hosts.equiv with RSA key

rsaauthentication

yes/no

allow only RSA authentication

skeyauthentication

 

tisauthentication alias

stricthostkeychecking

yes/no/ask

automatically add host keys to the known_hosts file or ask

tisauthentication

yes/no

allow TIS authentication

useprivilegedport

yes/no

allow use of ports above 1023

user

username

assign a user identity

userknownhostsfile2

filename

known_hosts file to use for ssh2 user

usersh

yes/no

use rsh to connect to host

sshwindowsize

bytes

the number of bytes to use for the clients ssh packet window

certhash

certificate hash

certificate hash to use for authentication

fips

yes/no

restrict to only FIPS compatible methods

kexalgorithms

comma separated lists of kex algorithms

assign the kex algorithms allowed

ignorechangehost

yes/no

ignore known hosts mismatches

forcepasswordchange

yes/no

forces password change during logon

pullkeyfromcert

yes/no

uses the public key from a x509 certificate instead of full certificate

SC

upn/cn/blank

use a smart card for authentication

SCReader

readername

specify which reader should be used

 








 

 

 

Copyright © 2023 Pragma Systems Inc