Reply To: Enabling SSH on server

NoMachine Cloud Server Products / Enabling SSH on server / Reply To: Enabling SSH on server

#6522
venkatsvenkats
Participant

Looks like ssh is already there int the Client Connecttion Methods.

XPS8700: ~ : sudo grep -i ssh /usr/NX/etc/server.cfg

# SSH:  Redirect port of the SSH server.

# none: Do not redirect port. Connections via NX, SSH or HTTP

# Specify the port where the SSHD service will be redirected using

#SSHDUPnPPort “”

# Specify the TCP port where the SSHD daemon is listening on the NX

#SSHDPort 22

# from local DB or through SSHD authentication, can connect to the NX

# system. This is likely to be the default when SSHD authentication

# 0: Disabled. Use SSHD + PAM authentication.

# word will be verified against the current PAM settings by the SSHD

# user being authenticated by SSHD account will be enabled to connect

# Specify hostname of the server used for NX SSH authentication.

#SSHDAuthServer 127.0.0.1

# Specify the TCP port where the SSHD daemon is running on the NX SSH

#SSHDAuthPort 22

# the SSH server will be started automatically at every reboot.

# 1: Automatic. Enable automatic starting of the SSH server.

# 0: Manual. Disable automatic starting of the SSH server.

#StartSSHDaemon Automatic

# comma-separated list. Supported methods are: NX, SSH and HTTP.

ClientConnectionMethods NX, SSH

# Specify the location and name of the SSH authorized keys file.

SSHAuthorizedKeys authorized_keys

# Accept or refuse the client connection if SSHD does not export

# the ‘SSH_CONNECTION’ and ‘SSH_CLIENT’ variables in the environment

#SSHDCheckIP 0

# Specify path to the SSH client.

#SSHClient /usr/bin/ssh

 

 

 

 

XPS8700: ~ : sudo grep -i ssh /usr/NX/etc/node.cfg

# comma-separated list. Supported methods are: NX and SSH.

ClientConnectionMethods NX,SSH

# Specify the location and name of the SSH authorized keys file.

#SSHAuthorizedKeys $(HOME)/.ssh/authorized_keys2