Sponsored Content
Operating Systems Linux Red Hat Connecting using SSH in WAN network Post 302993371 by drysdalk on Thursday 9th of March 2017 08:41:34 AM
Old 03-09-2017
Hi,

You do it exactly the same way. The ssh command itself doesn't care what or where a host is, it will just try to connect to it. So long as the hostname you use can be resolved, or you're using an IP address, there shouldn't be any issues.

Now, other things may very well stop you from connecting of course. You might have no route to the destination network, a local firewall that blocks the outbound connection, a remote firewall that blocks the inbound connection, etc, etc. Any number of things could get in the way.

But in terms of the ssh command itself, there's no difference in how you connect to a host on your own LAN or on some other network entirely.
This User Gave Thanks to drysdalk For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

Problems connecting Solaris 10 to network via ISP

I have just installed Solaris 10 (x86) on my PC, which is connected to an ISP via a Netgear DG834G firewall/modem router. I can't find the network. My router has the IP address 192.168.0.1 and my ISP assigned IP address is 214.159.X.Y I have edited various files based upon information I have... (7 Replies)
Discussion started by: christian_hicks
7 Replies

2. Solaris

Connecting Solaris to Airport network

Hi, I've been trying to find out for the past two days how to set my Solaris 10 to join wireless network (Airport base station with ACL and wep or wpa on). Using ethernet is a bit out of question as I don't have an ethernet cable that would reach the other side of the house. Solaris 10... (1 Reply)
Discussion started by: giax
1 Replies

3. HP-UX

Connecting To An External Network Using A logical (PACKAGE) IP Address

Hie everyone, I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration: Primary Server IP Address : n.n.n.202 Secondary Server IP Address : n.n.n.212 Package IP Address : n.n.n.211 ... (1 Reply)
Discussion started by: cchilenga
1 Replies

4. IP Networking

Connecting to an SSN from an internal network

Hi I have an Apache Web server running on a Solaris 8 box that sits on a SSN. I have one desktop that connects to the SSN from the internal network and is recognised directly without using the gateway, all other desktops, laptops from inside the internal network connect to the SSN using the... (0 Replies)
Discussion started by: Bobby76
0 Replies

5. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

6. IP Networking

Connecting to DHCP network with Realtek interface

I have a Realtek 8139 interface in one of my machines and it will not connect to the network. /etc/rc.conf contains ifconfig_rl0="DHCP" and "rl0" was obtained from a dmesg. A network interface restart yields the following: # /etc/rc.d/netif restart Stopping network: lo0 rl0 fwe0 plip0. rl0: no... (3 Replies)
Discussion started by: figaro
3 Replies

7. Shell Programming and Scripting

connecting to network, auto-entering info

Hey guys, I just started college a few days ago. To my dismay, my school has a very frustrating wireless network access system. Every time you want to use the network, you need to open up a browser and get re-directed to a login page. Every access, you need to reenter the same username and... (1 Reply)
Discussion started by: Chain Breaker
1 Replies

8. Linux

connecting to SSH

Well im on Fedora, and theres no sub section for Fedora so yea Well how do you connect to an SSH, while on a windows terminal? And also to transfer a file from my desktop to a server? how is this done scp command is not working for me (3 Replies)
Discussion started by: gangsta
3 Replies

9. IP Networking

2 WAN connections on 1 switch/network

I want to know potential problems with the following scenario OR if it is an ok way to have my network setup: I have 2 WAN connections to the internet. I have each WAN connection plugged into its own router. Router DD-WRT is gateway for servers (192.0.10.50). Router Tomato is gateway for pc's... (1 Reply)
Discussion started by: herot
1 Replies

10. UNIX for Advanced & Expert Users

Connecting using ssh

We have 2 different servers say A and B and I want to check the log file of 2 servers simultaneously. If I am logged into server A how can I connect to server B. I have used ssh username@B.But it is asking password. How can I give the password on ssh. Or is there any other utility for... (2 Replies)
Discussion started by: jim john
2 Replies
llogin(1)						      General Commands Manual							 llogin(1)

NAME
llogin - Connects to a LAT service SYNOPSIS
/usr/sbin/llogin -d | service [-p tty] [-H rem_node] [-R rem_port] [-wpassword | -W] OPTIONS
Displays a list of learned services including the node name and rating. Specifies a local LAT tty device (tty) to use to connect to ser- vice. Either SVR4 or BSD tty devices can be specified. However, the tty device must already exist and be available for use. If no tty device is specified, llogin uses any available SVR4 tty device. If no available devices are found, llogin creates an SVR4 LAT tty device for the user. When llogin exits, the created tty device is removed. Specifies a remote host (rem_node) that offers service. This is helpful when more than one host offers a service. Specifies a remote port (rem_port) that offers service. Speci- fies a password for connecting to service when the remote service has password checking enabled. The password is not case sensitive and spaces are not allowed. If you use the -w option, you specify the password on the command line; it is visible. If you use the -W option, you are prompted for the password; it is not echoed (visible). DESCRIPTION
The llogin command enables Tru64 UNIX users to connect to LAT services offered by other nodes in the local area network (LAN). You do not need superuser privileges or node information in order to connect to LAT services. If you do not know what services are known to your local node, use the llogin -d command. If you want to perform simultaneous llogin connections, use the llogin -p command. To make the llogin connection establishment quicker, add the target hostname as a remote service by using the latcp command. EXAMPLES
The following command initiates a connection to service siteapp on any node and port through any local LAT tty device: llogin siteapp The following command initiates a connection to service siteapp on any node and port through local LAT tty device 620: llogin siteapp -p 620 The following command initiates a connection to service siteapp on any remote port on host HOSTX through local LAT tty device 620: llogin siteapp -p 620 -H HOSTX The following command initiates a connection to service siteapp on remote port TTY_Z on host HOSTX through local LAT tty device 620: llogin siteapp -p 620 -H HOSTX -R TTY_Z SEE ALSO
Commands: latcp(8) Network Information: lat_intro(7) llogin(1)
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy