on a fresh install of Cisco Prime 3.1 I cannot get SSH connection to work. I can ping the server and access the webUI, but trying to connect through SSH just goes into timeout.
I've confirmed that the sshd service is running and it's listening on port 22. I've also tried to stop and restart the service to no avail.
To rule out a network issue, I've also tried to connect directly back to back with the server interface and yet connecting through SSH won't work.
Tried to reboot the server, again no dice.
According to the admin guide, it seems that SHH is one of the things that should just work after the installation without configuring anything (and if that was the case I'd expect some kind of "connection refused" message of some sort rather than a timeout)
Has anyone got any idea?
- SSH-access should be available by default 1) Make sure no in-between fire-walling infrastructure is active between your ssh-client and the Prime server preventing access. 2) Since you can not run ncs status - reboot the Prime server and carefully scrutinize the startup of all services. Make sure no errors are observed.
Are you trying to connect to the server with the admin user? or root user?
I think that Prime only receive connections from admin user.
If you have access to the console.
Can you validate that the network parameters that were configured during installation process are correct?
ip add /mask / DG
I am logging in with the admin user I created during the setup phase, so i just type ssh <serverip> admin but I never get a reply from the server and it just times out.
I confirmed that the supplied parameters are right multiple times and the ip mask and dg are correct. To rule out a possible network issue I also directly connected my computer to the interface and tried to ssh that way but with the same results: connection time out.
In both cases (when I am remotely connected or when I am directly connected) I can ping the server and access the webui just fine. It's only the ssh that fails
Where are you trying to connect from? Windows, Lunux CLI or from putty like tools?
Did you test to connect like this?
or ssh -l admin A.B.C.D
Thanks all for your replies so far, I'll try to answer you all
@marce1000 I have physical access to the servers (they are 2 as we're trying to run some test for an EPNM HA deployment) through the serial port. The NCS status command doesn't show any obvious error (apart from the health monitoring server complaining that HA is not configured
I've not tried that, will be the first thing I do tomorrow when I get into work. My go to client usually is SecureCRT, but I've also tried with PuTTy and the windows built-in one and had the same result with all of them. I am not sure the client might be a fault as we do have a live server with the same prime infrastructure version running on it I can access using SecureCRT just fine.
I've tried to have a look at the live server configuration but nothing seemed off.
No, I've not tried with the syntax you suggested, will try tomorrow!
Additionally, perhaps it can give people another clue, this prime installation was done on 2 cisco UCS servers we have here as we're trying to test the feasibility of an EPNM ha installation, servers have respectively a .172 and .173 ip with their gateway being a .161 on a /28 mask.
Servers are connected to a 3850 stack and while I can ping one from the other (I can ping .173 from .172 and vice versa) by trying to ssh into one another with ssh <server IP> admin nothing happens. So my first thought was there was something wrong with the networking hence to rule that out, I've tried to connect directly to the interface of both with my computer but with the same exact results.
I can ping the server and access the webUI, but not ssh into it because of the connection timing out. At this point I am convinced is something super obvious I am missing.
Thanks again for all your help