how can i get access to my Linux server using SSH?

Posted on 2008-02-07
Medium Priority
Last Modified: 2013-12-16
when i try to login to my server using Nomachine (Nx) it gives me a message saying The NX service is not available or the NX access was disabled on Host 207.xx.xxx.xxx

here are the details:

NX> 203 NXSSH running with pid: 22392
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 207.xx.xxx.xxx on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

how can i fix this issue?

i have used both the private and public key.

Question by:willlk
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 20845942
Maybe you are trying with the wrong username the key you use must be included in the .ssh directory within home directory of the user account you are trying to logon with

Author Comment

ID: 20846135
i am using the correct username. the ssh key is in the directory
LVL 40

Expert Comment

ID: 20852846

Accepted Solution

Luqman Shantal earned 1500 total points
ID: 20857239
You can review the settings systematically.

First of all, make sure that the service is up an running on both sides.
You've to check your firewall/security settings including open and closed ports.

type: netstat -nl to check your network settings.
check with the snoop command: snoop host1 host2
You can restart the network and xinetd services if necessary.
If NIS is deployed try to restart it.


Author Closing Comment

ID: 31429001

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question