Supporting key-based authentication method via web (for SSH protocol)

ID: FR11P03745 Priority: Low
Products: NoMachine Web Player Target: 6
Status: Approved  

Support for key-based authentication method needs to be made available also for connections by the Web and SSH protocol.

The authentication method has to be defined in the Section "Server" group of keys available in the server configuration file (server.cfg):

#
# The Section directive allows to define settings for the server
# where the Web Player will connect. Edit lines below to define a
# server different from localhost. Protocol is by default 'NX' on
# port '4000'. To use SSH service, specify 'SSH' and port, by default
# '22' on Linux and Mac and '4022' on Windows. Password-based and
# key-based authentication are supported for both protocols, set
# respectively 'password' (default) or 'private-key'.
#
Section "Server"

Name "Connection to localhost"
Host 127.0.0.1
Protocol NX
Port 4000
Authentication  password

EndSection

 

For example:

Section "Server"

Name "Connection to localhost"
Host 127.0.0.1
Protocol SSH
Port 22
Authentication 
private-key

EndSection