General :: How To SSH Into Remote Host Hidden Behind NAT Router

Jun 21, 2011

I can use TeamViewer to get into this remote host. It has sshd running. I would like to ssh to it. But it gives the system's IP as 192.168.xx.yy. How do I ssh into it?

View 1 Replies


ADVERTISEMENT

General :: SSH Access To Office Host Behind NAT Router

Apr 29, 2011

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to another internet host (Server) which is unfortunately only non-root access.

-Office PC (linux, root access) behind NAT (IP not public) but full Internet access.
-Server PC (linux, no root access) static and public IP and full Internet access.
-Home PC (linux, root access) behind NAT (IP not public) but full Internet access.

View 4 Replies View Related

General :: Why Can't 'scp' From Remote To Local Host

May 31, 2011

I am having difficulty sending files from a remote machine to local one using

Code:
scp
. It is working the other way however. local > remote. I am using the verbose options

[code]....

View 3 Replies View Related

General :: FTP From Remote Host To Local System?

Sep 27, 2010

I'm using Windows XP. I'm connecting to a UNIX box using putty SHH(ksh). Now I want to copy a text file present in remote host to my local system.

View 5 Replies View Related

General :: Remove Files In Remote Host Using Ssh?

May 25, 2011

I need to delete all files inside remote directory using ssh P.S. The directory must not be deleted, so @Wes answer is not what I need. If it would be local dir, I would run "rm -rf dir/*"

View 4 Replies View Related

General :: How To Monitor Remote Host Using Nagios

Jan 14, 2011

Yesterday i install nagios, after that i can successfully monitor my local machine disk usage and its services, but now i want to monitor remote host, but have no idea how to do this , i also google alot but not getting resource full explanation.so please guys tell me how can i monitor the remote host using nagios..

View 54 Replies View Related

General :: Way To Start Script At Remote Host

Nov 13, 2010

I want to start a shell scripts(which generate traffic to test my network) at remote linux hosts from single linux local host.. If i start script at remote host through ssh, all traffic are sending from my local host also. It will create burden on my local host. If i terminate SSH connection, it stopping the script at remote host. Also i need to do ssh to all my remote hosts.

Is there any best way to do it?

View 6 Replies View Related

General :: Sending Application Log To Remote Host?

Feb 25, 2011

How is it done?Right now its just getting written in a local text file(not /var/../.., not using syslog at all).and every day a new file is being created

View 3 Replies View Related

General :: Check_NRPE From Ubuntu Server To OpenWRT Router - Connection Refused By Host

May 23, 2011

I am trying to monitorize an OpenWRT (Backfire 10.03, r23115) router from an Ubuntu server, but I am having some problems. I have installed Nrpe (2.12) on the remote host (OpenWRT), I have executed the program as a deamon (/usr/sbin/nrpe -d) but when I start the NRPE deamon, I don't get anything about NRPE executing netstat -at or ps -ef.I would need to install check_nrpe on OpenWRT to find out if NRPE is working, but I can't find any ipk package with it. Now, once in the monitoring host when I try to reach the remote host from the server:

/usr/local/nagios/libexec/check_nrpe -H ip_remote_host

I get: Connection refused by host

Even, trying with localhost:

/usr/local/nagios/libexec/check_nrpe -H localhost

I get the same error: Connection refused by host

I have installed Nagios Plugins and the check_nrpe plugin. I have edited the /etc/nrpe.cfg file:

allowed_hosts=127.0.0.1 ip_server

I don't exactly know if it is remote host's fault, monitoring host's fault or both.

View 14 Replies View Related

General :: Command To Find The OS Version Of Remote Host?

Dec 29, 2010

I'm in a situation, that I have no access to one of my remote server. And I CAN'T EVEN INSTALL ANY SOFTWARE in any linux boxes to determine the remote OS name and version.Can you please enlighten me on how could I find out the OS version of remote host without installing any software or without login to that server.

View 1 Replies View Related

Ubuntu Security :: Hidden Backdoor In AT&T 2Wire Modem/Router?

Aug 11, 2011

My 2Wire router/modem I got from AT&T for my DSL has port 3479 TCP open and I can't figure out how to close it. It's open to the entire internet. From a quick google search it's some port AT&T can use to update the modem's firmware or something.Consider how in bed AT&T is with government agencies it seems like a easy way for the government to get into my home network just by using what seems to me a backdoor put there by AT&T. Anyway to close this or secure it. Right now I'm using the hardware as my main router for my home network. I have Linsys I modded with DD-WRT. I'm thinking of re-configuring my network to use the DD-WRT router as the main router and the 2wire just as a modem. The 2wire is a hybrid modem/router and I'm kind of lazy and don't feel like re-configuring my entire network if I can just close the port.

View 9 Replies View Related

General :: NTP - Remote Host Refused An Attempted Connect Operation

Jul 24, 2011

When I do a ntpq -p on my machine I could see the ntp servers configured and it's status:

But when I telnet to ntp server "10.1.35.2" it says A remote host refused an attempted connect operation:

I know * here represents that the machine is in sync with ntp server. My question if the machine is in sync with ntp server, how does it work?why ntp port 123 is connection refused?

View 1 Replies View Related

Ubuntu Networking :: Remote SSH As A Non Hidden Folder?

Jun 5, 2010

It then places the folder on the desktop. However if I use any application that works with the file system, I can never see that folder. I know the physical location of the SSH folder can be traced into Home folder -> .gvfs (it is a hidden folder). However I want the SSH folder to be easily accessible on the file system. Something very similar to "Expand Drive" or "SFTP drive" in windows.

View 1 Replies View Related

General :: Telnet :Unable To Connect To Remote Host:Connection Refused?

Jul 3, 2011

My system is Ubuntu 11Before I typed "telnet localhost" or "telnet localhost 23". I have make this work below:$sudo apt-get install xinetd$vim /etc/xinetd.conf

defaults{
instances=60
log_type=SYSLOGauthpriv

[code]....

View 1 Replies View Related

General :: Bash Script That Read From File And Ping Remote Host

Feb 13, 2011

Q=What will this do?
A=This will read from /root/Desktop/iplist (or anywhere you want to put the list) after it reads the ip it will ping the ip two times. If the remote host is up then it will write the ip to a log. If the ping fails it will display it on the screen, write the ip to syslog so that you can do remote logging, and last it will send the ip by email to a user or a group of users.

Code:
#!/bin/bash
#wrote by Zach Underwood feb-12-2011
#test and wrote on centos 5.5 with sendmail
rm -f /root/Desktop/iplog #This will remove the good iplog
exec 9</root/Desktop/iplist #put full path the file where ip list is. Make sure that the ips are listed one per line.
while read -u9 ip
do
ping -c 2 $ip > /dev/null 2> /dev/null # ping and discard output
if [ $? -eq 0 ]; then # check the exit code
echo "$ip is up" >> /root/Desktop/iplog #write the ip of the hosts that are up
else
echo "$ip is down" # will show on the screen the ips that are not up
logger -p auth.notice "$ip is down" # will write the down host to syslog
echo "$ip is down" | mail -v -s alert user@anydomain.com > /dev/null 2> /dev/null #will send mail users about host down
fi
done

View 3 Replies View Related

General :: Telnet - Unable To Connect To Remote Host - Connection Refused

Sep 11, 2009

I did followings:

Code:

But got:

Code:

But as I tried:

Code:

It's OK.

View 1 Replies View Related

General :: How To Mount Remote Samba Share From Local Host With Multiple Groups

May 6, 2010

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000.I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Mount the remote samba with multiple groups on the local system?Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal. And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.

View 1 Replies View Related

General :: Connect To SUSE Server From Other One - Error "Remote Host Identification Has Changed"

Jan 15, 2011

When I try to connect to my SUSE server from other one this appears: Remote host identification has changed. I deleted entry in know_hosts but it still working wrong, showing me this message. What could be the cause of this problem??

View 1 Replies View Related

OpenSUSE Network :: Setting Host Name On Router

Apr 8, 2010

I am running

Code:

On my laptop (HPDV7), using DHCP for network access, KDE4.

I use Network Manager to manage wired and wireless connectivity.

I also have Samba server running for connectivity to Windows machines.

My router runs DD-WRT.

How do I tell this HPDV7 system to propagate a Host Name up to the router?

In the DD-WRT status screen, I see Host Name as "*" associated with the assigned IP address.

I cannot, for example, ping my HPDV7 machine from my windows machine, I assume because the router (also providing DNS for my network) does not provide the name to address translation.

I CAN ping the IP address directly, and Samba connectivity from the Windows machine to HPDV7 works.

The file

Code:

View 3 Replies View Related

Networking :: Get Debian To Broadcast Its Host Name To Router?

Dec 4, 2009

I have a router and when my Debian machine connects I get "null" as the host name. How can I get it to display the host name?

View 11 Replies View Related

Networking :: 3 NIC - Router - PC Cannot See My Laptop And Vice Versa - Cannot Ping - Host Seems Down

Jan 25, 2010

I have a machine running linux with 3 ethernet interfaces attached.

My Ifconfig:

My route output:

eth0 is attached to a laptop, eth1 is attached to a PC. eth2 is attached to a DSL modem, and the server is successfully acting as my internet gateway. The trouble is, my PC cannot see my laptop and vice versa. E.G. cannot ping, host seems down.

View 5 Replies View Related

Debian :: SSH Into Remote Computer Behind Router

Sep 6, 2010

My son needs me to do maintenance on his computer. He has a router installed for firewall purposes. I can see his router's IP address. How do I get past that address to his local address?

View 14 Replies View Related

Fedora Networking :: Can't Connect Via A Remote Host To Ssh?

Feb 5, 2009

have fedora 10 and am having problems with ssh. For some reason I can't connect via a remote host to my ssh. Local network connections do work just fine. I have been looking for a log of what is going on but have not had luck seeing anything.Things I have tried:

-Modify hosts.allow to allow ssh to all
-generated rsa1 key identity tryed specifying that with the -i option on the guest computer

[code]...

View 1 Replies View Related

Networking :: Fedora 10 - Unable To Ssh Out From Box To Remote Host?

Apr 10, 2009

I have a box (boell) running Fedora 10 sitting behind a firewall at school. I am able to freely ssh to and from this box to other computers (minion) within that lan. Outside of this network I cannot directly ssh to boell - I must ssh first to minion, then I can ssh to boell. I've spoken with the sysadmin and he's verified that the firewall permits ssh freely - i haven't had any issues like this with other boxes of mine there, so this isn't any surprise.

I have verified that the hosts.deny file is blank, iptables permits ports 22 (and 80) and I didn't see anything obvious in the sshd_config. I tried a tcp dump on the external host and boell while attempting to ssh from the former to boell. The packets appear to be acknowledged by boell, but this fails to lead to a connection. I've tried this process with external hosts in different locations with the same result. I have made few modifications to the default installation for F10, so perhaps there is some default somewhere I have to change. In any case, below I have attached excerpts of germane files.

======== ssh from boell =======
[root@boell log]# ssh -vvv 71.189.5.67
OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config

[code]....

View 3 Replies View Related

Networking :: Udp Client Not Working From Remote Host?

Apr 17, 2010

i have a udp server running at port 60178. when i connect to it from localhost there is no problem. when i use the client from a remote host i am not able to connect. I changed my server firewall settings[Fedora 11] and added "udp 60178" to trusted ports but still nothing happened. I ran wireshark and observed that packets are coming to the server machine but server returns a "Port Unreachable" ICMP message and doesnt give the packet to the application.

View 3 Replies View Related

Server :: Unable To Connect To Remote Host

Jun 4, 2011

I installed dovecot on my server and now the imap and pop3 ports are open.But when I want to telnet it, it's not possible.Code: Trying 127.0.0.1...telnet: Unable to connect to remote host: Connection timed out.Also I can't any ports else. But I can connect to it from other computers. I tried to connect to this from my PC and it was successful.

View 7 Replies View Related

Software :: Nagios Adding Remote Host?

Mar 2, 2011

i have some problem with nagios adding remots hosts in localhost.cfg (/etc/nagios/objects/localhost.cfg) file in that i am able to only one remote host if i add one more host in that file i got below error #/usr/sbin/nagios -v /etc/nagios/nagios.cfg

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

[Code]...

View 7 Replies View Related

Programming :: Accessing Server From Remote Host?

Mar 2, 2011

i have made a java web server which works on localhost.but now i want to capable it handling many clients at a time.so clients running on different computer need machine name or IP address of server computer.How can i do this in java?

View 1 Replies View Related

Slackware :: Remove Ip Address From Remote Host?

Apr 16, 2010

If I have a dnsmasq server and it dished out a IP address that I don't want it to and it still gives it to my machine no matter how many times I restart windows and issue ipconfig /renew|release or enable/disable the adapter, how do I force it to give my windows machine an IP I want it to have?

The only way I've accomplished this in the past is by rebooting my slackware system.

View 10 Replies View Related

Ubuntu :: Ssh To Connect To A Remote Computer Behind A Router

Jan 30, 2010

I want to show you this scheme:MyPC -> router -> internet <- router <- Mom'spc I want to connect from my pc to my mom's pc using ssh. The first router doesn't represent a problem, but my mom's router does. Our IPs are both dynamic (anyway, I can easyly know them) and I have opened the port (TCP/UDP) 2100 on the router in order to open a gateway on mom's pc.The firewall is not enabled on the router, nor on mom's pc.

Granted all this, now I should be able to connect to that computer using ssh:ssh user@ip -p 2100 But I can't, I always get a "connection refused".if I do it on my intranet, I can connect without any problem (to others computers, of course, not mom's) What's the reason because I always get a connection refused?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved