Ubuntu :: Can't Connect To Ssh Server From Internet
Mar 4, 2010
The ssh server I have at home is accessible from other computers on the LAN. However, on if I try to connect to it from another computer outside the LAN, I get a publickey error saying 'permission denied'. I use key based logins. I have set up port forwarding on my router and the funny thing is that the current configuration worked just once. Here is the output of ssh -v
Code:
foobar@IBM-Ubuntu:~$ ssh -v <ip address of server>
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
I cannot get my server to connect to the internet. I have tried everything. I can talk to my local network so thats not a issue. I think it is my dns and gateway. I am trying to use open dns but do not know how to configure it. Here is my configuration now:
When I open my browser in windows vista (I have a duel-boot system), my browser (Firefox) automatically goes to this page, and I log in, and am able to then use the Internet.
Ubuntu also searches for this 10.196.128.11 server, but it continually states "waiting for server to respond". I have checked all the settings I could find in windows and compared them to the ones in ubuntu, and they seem to be identical to me. I am using firefox in ubuntu too so I cannot understand the problem.
I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.
I have an Internet connection problem. The computer I'm using which is running Red Hat Enterprize Linux Server cannot connect to Internet. I can ping machines working in our local network. Static IP addresses, DNS, Default Gateway, Subnet mask, they all seem to be correct. I restart network interfaces but that doesnt make any difference. Other machines in our local network are connecting to Internet without any problem.
I am unable to connect to the Internet in lucid via a proxy server using apt-get or synaptic. Opera & firefox connects to the internet fine with the proxy setting.
I have tried the following solutions:
1) set proxy setting using systems|preferences|network proxy
2) editing ~/.bashrc & /etc/.bashrc
3) creating a /etc/apt/apt.conf file.
4) putting the proxy setting in synaptic
For the proxy setting I have used the both the verbose name as well as the ip address. There is no logon requirements for the proxy server. Either formats work in the browsers.
On my local machine connected to internet via LAN, I have installed vnc viewer using: yum install vnc When I connect to the vnc server using vncviewer ipaddressofvncserver:1 it shows unable to connect to host. No route to host (113)
I have a home network, with an OpenWrt router operating successfully as DHCP server (using DNSMasq). I'm planning to install LinuxMCE on my main fileserver and in order for this to properly detect devices around the home it requires that it is the DHCP server. That would be fine except that I sometimes power down the fileserver (eg. when my in-laws sleep in the spare room where the server lives) and that would leave me with no DHCP which creates problems (when my in-laws want to get their laptop connected to the internet).
One answer is to get new in-laws which would be OK except that I'm still pretty keen on my wife. Alternatively is there any way to set up a fallback DHCP server ie. the router would check if there's a functioning DHCP server on the network (ie. the fileserver) and if it gets no response it will serve DHCP addresses itself.
I recently set up an older Pentium 3 desktop w/ Jaunty Jackalope 9.04. The Netbook I am typing this on right now(ASUS Eee PC w/ Win 7);is connected on a home network, that is using the WiFi signal, that is going through that Linux Machine. The Linux machine's Mozilla browser does not seem to be able to use/connect w/ the DLink USB adapter's "Auto Linksys" internet connection. Is there a easy fix for this problem?
I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?
I have one pc on which I have installed slackware and samba (fixed IP, mask 255.255.255.0) I have another PC (also XP) which also has fixed IP running XP, and I can connect that to the slackware server easily My third PC connects to the internet and gets its IP address from the Cisco router(?) that provides the IP and mask on boot up.
I tried changing the IP and Mask on the slackware server to match the internet PC (which uses a mask 255.255.254.0) but the PC mask and IP changed on the internet PC I want the PC that connects to the internet to also be able to connect to the slackware server, but I see no need for the slackware server to also connect to the internet - I will mainly use it as a file server When I worked for another company I think the IT department talked about having 2 network cards in the PC that connects to the internet
I have a server at home running as a file server and DHCP connected to a switch with a wireless AP in there as-well. with this setup I can access the files and do some configurations via SSH on the actual server anytime I'm able to get the wireless signal, now lately I felt the need to be able to do the same but this time over the internet. I've read somewhere already that I'm gonna need a router with port forwarding and NAT, then know the IP address of the server but my problem is once you start talking about routers then you need broadband connection which is something I don't have. Getting a router is not much of a problem but without ADSL like connection I guess its useless, what do I need to do?
On this box I have Two seperate Ubuntu installations. Recently in both I seem to be having the same problem. I initially can connect to the internet as per normal and use any internet application. But after a period of time, sometimes just minutes, sometimes hours, even though the icon says connected, I cant update pages or send emails etc because there is no actual connection. My Physical connection is good I know - My Ubuntu laptop and Windows gamming PC connect fine during this period. So
Does this suggest an intermittent hardware fault or is there some thing in Ubuntu I can check to make sure that it is setup correctly and nothing has been corrupted? I am a lay PC person - I dont really want to be command prompting - Plug & Play and Point & Click is my limit.
After upgrading to Ubuntu 10.04, I'm not able to make any connection to the internet with either my netbook through WiFi or my computer on wired LAN. I can, however, ping my Solaris machines and Macbook. How do I fix this?
I tried to install Xubuntu 10.10 Maverick as dual boot on my laptop. However when xubuntu is on, I can't find a way to connect to internet. When I try the 2 arrows on the up-right corner the option for wireless is deemed. I tried offline/online, that did not work either. when I click the firefox It says you are not connected.
I am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.
I can connect to the internet through wifi, but I cannot connect to anything on my network. I have a printer and a NAS, so I would really like for this to work again. I have a dell laptop with a Broadcom card.
I had put my computer on standby and when i restarted it, it powered off within a few seconds. I turned it back on and after that i've lost connectivity to internet on Ubuntu 10.04.
However I have VMware (XP) installed and internet/network works on that. I'm a newbie with Linux.
Here are some outputs:
I have tried to edit the connection using System>Preferences>Network Connections. I entered manual settings for IPV4, but whatever i enter there, it doesnt get reflected when i type ifconfig in the terminal window. I tried setting it to Automatic DHCP as well. Doesnt work.
I installed Suse 11.2 on clean HD. I cannot connect to the internet. Seems like Suse didn't install drivers for on board ethernet card. It is a Marvell Yukon 88E8056. I'm new to this and don't know how to install the drivers.
During the install of my Centos server 5.3 i cam in trouble after setting the Static IP address, Gateway and DNS i cannot connect to the internet my own network is visable. When i start ifconfig my network is running.
I've recently set up a local development webserver using Karmic Koala. I downloaded and installed the server version of Kubuntu and have the web server working.
The problem is that for some reason, I'm no longer able to connect to the internet. I can connect to my router, and other machines in my network can VNC into the server.
I'm using an wired connection to the router and have the server set up on an internal IP of 192.168.0.100. I used to be able to connect to the internet, I downloaded and installed a load of packages etc before it stopped working.
The last thing I remember doing before it stopped working was that I installed Samba so I could share files with the other machines on the network (two Macs running Leopard and a WinXP laptop).
I got the share working - I copied a load of files to the server via the share, rebooted, and for some reason now I can't connect to the net (and other machines can't see the Samba share either.) However I can still VNC into the server.
When i boot my computer and open ubuntu version 10.04.1 the internet wireless connection i have connected automatically. Now, for one reason i don't know, the internet did not connect to the internet. The progam display a message to uncheck the checkmark in the File Menu. After doing this, i refresh the system but it still not connect.
I have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.
It is running Ubuntu server 8.10
The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.
My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.
I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.
Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.
I'm trying to connect to the internet on ubuntu, but what ever i do fails. I've tried every thing i possibly can, and when all else failed, i had to come and ask. When i try to connect to the internet, it always says "unable to connect". I have no clue why. I'm choosing the default wired setting. To the side of it, it says never, so that might be the problem?
every time I try to connect to the ftp server I setup i am recieving this error Response:*** buffer overflow detected ***: /usr/sbin/vsftpd terminated Error:Could not connect to server
I have just installed Ubuntu 9.10 and like what I see. However I cannot connect to the InterNet. I cannot type @, instead I get " so no way of entering my name for my ISP
i have desktop computer with ubuntu 9.10 no wireless but with Ethernet card and i have my laptop dell with wifi witch is connected to the internet running on xp, i would like to connect my desktop to the internet thought my laptop using a cable between them, so i connected them and entered ip an subnetmask for both of them for the ethernet and enabled 1-"allow other network users to connect through this computer's internet connection" 2-"allow other network users to control or disable the share internet connection" on my laptop (windows xp) and every thing seams ok connection wise bet when i start firefox on ubuntu (desktop) it gives address (on any site) not found as if there is no connection. but on both PCs the local area network in connected ok!!?