04-05-2017
Hi,
I don't see any screenshot attached, but the command you're typing certainly looks fine, and the error message you're getting would seem fairly clear-cut too. Your local machine cannot connect to whatever system you're attempting to SSH into, as it believes it has no route to the destination network. Most likely this is true, though it is also possible a firewall somewhere along the line is to blame.
Are you sure that you do have a route to the destination network ? One thing that does spring to my mind from the first octet of your destination IP is that if you're trying to connect to a private IP range (so 192.168.x.y, 10.x.y.z or (less commonly) 172.16.x.y) then you won't of course be able to, since private IPs are not routable and only accessible locally. Which is fine if you're on that same network range yourself of course, but otherwise you need to be using the real Internet-facing IP of the destination server, one that definitely takes incoming SSH connections.
Hope this helps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?
AHHHH!!
I have been connecting to the server with the line: ssh userid@website.com
The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Discussion started by: xprankard
0 Replies
2. Solaris
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies
3. Linux
Hi,
I'm using scli (Command line utility) to retrieve the information about qlogic HBA and I want to redirect the information to text file.
* While execution I'm getting the following warning "Unable to get terminal attribute!"
How to avoid that ?
because of this "Unable to get terminal... (3 Replies)
Discussion started by: shausy
3 Replies
4. HP-UX
Greetings!
I am trying to perform a passwordless SSH login from a HPUX 11.31 client to a HPUX 11.31 server. Whenever I do a "ssh -l root serverA" from the client, I am prompted for a password. Giving the password, I am able to successfully login. However I am trying to accomplish a... (9 Replies)
Discussion started by: Rob Sandifer
9 Replies
5. Red Hat
HI Experts,
I am having dificulty in loggin on the server via ssh-tectia. Sometimes, i can login for like 3 seconds the it shows error "disconnected from network"
Other's can login on this server via ssh-tectia without any problem, BUT i can successfully connect to other servers .
... (2 Replies)
Discussion started by: EngnrRG
2 Replies
6. HP-UX
why I can login by telnet using root account
but when i use login by ssh using root account
it is not successful ,is it different password
i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies
7. Shell Programming and Scripting
Hey guys,
I have some task from my office to lock user on the specified directory after the user logged on using ssh. And then run prompt program to fill the required information. Yeah, just like an ATM system.
My question:
How could I do those?? AFAIK I have to edit the ~./bashrc. But the... (1 Reply)
Discussion started by: franzramadhan
1 Replies
8. Red Hat
removing the post (6 Replies)
Discussion started by: titanic4u
6 Replies
9. Solaris
Unable to login to solaris9 server using SSH mode for root as well as genreal logins. Please find the configuration file .
oss@HYDOHS02:ssh> cat sshd_config
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "@(#)sshd_config ... (6 Replies)
Discussion started by: hydoss1
6 Replies
10. AIX
We are having occasional problems accessing some AIX servers. When this happens we cannot ssh to the server in question or login via HMC console terminal window. We can ssh some commands to the server and get responses but other commands just hang, ssh serverA date returns the date, ssh serverA... (5 Replies)
Discussion started by: Kierong
5 Replies
LEARN ABOUT SUNOS
tc-route
Route classifier in tc(8) Linux Route classifier in tc(8)
NAME
route - route traffic control filter
SYNOPSIS
tc filter ... route [ from REALM | fromif TAG ] [ to REALM ] [ classid CLASSID ] [ action ACTION_SPEC ]
DESCRIPTION
Match packets based on routing table entries. This filter centers around the possibility to assign a realm to routing table entries. For
any packet to be classified by this filter, a routing table lookup is performed and the returned realm is used to decide on whether the
packet is a match or not.
OPTIONS
action ACTION_SPEC
Apply an action from the generic actions framework on matching packets.
classid CLASSID
Push matching packets into the class identified by CLASSID.
from REALM
fromif TAG
Perform source route lookups. TAG is the name of an interface which must be present on the system at the time of tc invocation.
to REALM
Match if normal (i.e., destination) routing returns the given REALM.
EXAMPLES
Consider the subnet 192.168.2.0/24 being attached to eth0:
ip route add 192.168.2.0/24 dev eth0 realm 2
The following route filter will then match packets from that subnet:
tc filter add ... route from 2 classid 1:2
and pass packets on to class 1:2.
NOTES
Due to implementation details, realm values must be in a range from 0 to 255, inclusive. Alternatively, a verbose name defined in
/etc/iproute2/rt_realms may be given instead.
SEE ALSO
tc(8), ip-route(8)
iproute2 21 Oct 2015 Route classifier in tc(8)