Ubuntu Networking :: Setup SSH To Connect To Machine Externally
Mar 21, 2010
I'm using Ubuntu 9.04 x86_64 and trying to setup SSH to connect to my machine externally. The open ssh server is already installed and I can using ssh localhost. Moreover, I also forward port 22 to my machine and check using [URL] Everything seem to be ok, but when I trying to connect using ssh -vvv <ip-address> I receive the following common error:
I have Ubuntu 10.04 x86 installed, trying to get teamspeak 3 beta30.I have followed this guide: http://robert.penz.name/296/howto-in...u-10-04-lucid/
And can not get my network setup correctly to allow people to connect externally from my LAN. I have forwarded every relevant port I could find to the computer hosting TS, I forwarded them first as their respective protocols, and then as the combined UDP/TCP. I tried Forwarding single port numbers, and then port ranges.I have also tried uninstalling selinux.I have tried connecting directly to my cable modem with the server.I had this working perfectly three months ago with all the same software, using the same guide I listed above.The only thing I can imagine has changed is my operating system itself with system updates.
My network looks like:
Comcast cable modem--->Netgear WNR3500L Router----->Ubuntu 10.04 x86 desktop edition
what else I could possibly check? I can connect to and manage the TS server fine using localhost:9987 or 192.168.1.x:9987, it just wont allow any connections from outside the network.
I can successfully logon to machine A to Machine B.
what address and port will my tunnel 'appear' on machine B? I want to send a stream back from B to A up the encrypted tunnel, not over the open network.
Right now I have a machine set up running Fedora. I have configured inittab to accept Console Logins, but I am having problems getting my netbook running PuTTY to connect. How would I go about finding the Host Name and Port to connect to?
I am using Ubuntu 10.04, 64-bit. I am trying to set up a virtual machine on it using vmbuilder. As I understand, I need to set up bridging. If I set up br0, then I cannot get out of the machine. Even a ping to 192.168.1.1 (my gateway) comes back as network unreachable. If I comment out #auto br0, then I can get out (on eth0), but i get an error from libvirt. My /etc/network/interfaces file (eth0 networking works, but libvirt does not):
#auto eth0 #iface eth0 inet dhcp auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.154 netmask 255.255.255.0
I have two Linux machines both running Debian (I do not want Windows to be involved at all). One is a desktop and one is a laptop. I desire to connect a not-yet-purchased printer/scanner combination machine only to the internal LAN via my router (Linksys WRT54G) via Ethernet cable, or via wireless if the printer/scanner has that capability. I want to be able to print to that printer (and scan from its scanner) by only having to turn on the printer/scanner and only one of the other computers, and not have to have both Linux machines turned on in order to print and/or scan.
So my questions are: When I look at specific models of printers, what should I be looking for in their specifications that indicates that this configuration is possible (i.e., should I be looking exclusively for printers that say they are "wireless printers" or "network printers")?The reason I ask this question: In my online searching, I thought "networked printer" or "stand-alone network printer" meant just that, but what I found instead are pages and pages of instructions on how to connect the printer locally to a Linux machine, with the associated setup to allow that Linux machine to serve print requests coming from other machines on the LAN. And that approach is not what I want to do (with the notable exception of temporary setup to validate that the printer is responding to requests for printing and scanning from Linux).
Are there particular brands, makes, or models that I would have better luck in getting to work in this manner (i.e., "better stick with HP or Xerox")? Am I kidding myself that a combination printer/scanner would work in the same fashion and still be relatively easy to set up on both Linux machines without resorting to some Windows-centric approach? Result of my searching so far (I have not worked my way through all of these in detail, but plan to): References to local printer connection which is not what I want: Setting_Up_a_Network_Printer_using_CUPS Set up a network printer using cups Set up a printer
The post inside Setting_Up_a_Network_Printer_using_CUPS that starts with "running an HP Photosmart 8450 as a stand-alone networked printer" (where is the permalink?) is as close as I could get, but I am concerned that the instructions given are specific to the HP Photosmart 8450, or specific to the HP vendor, versus for all printers that can be connected to an Ethernet network (not that being locked into HP is going to be a problem necessarily, but I would like to know why if that is the case). Linux compatible printers says "Have a look at LinuxPrinting for known working drivers for printers data base. Also buy from a linux friendly company, ie HP, Brother, Epsom." Later in that thread, someone said Definitely don't buy canon.
I should preface this by saying I'm pretty much new to ubuntu. I was a nerd back when I used windows, so I'm fairly knowledgeable about it, but I lost interest right before switching to linux, so I haven't learned much past basic navigation.
I bought a WPN311 wireless card for my homebuilt machine a while back and still can't seem to get it to work. One person told me that after upgrading to Lucid it should work out of the box but that's not the case. It seems my computer doesn't even recognize that the card is plugged in. When I open the drop-down menu to choose which network connection to use, any sort of wireless option doesn't even show up.
My machine:
EVGA 112 CK-NF68-T1 motherboard Intel Core 2 Duo E6750 Two sticks OCZ DDR2 PC2-6400 ATI Radeon X1650 Pro And the Netgear WPN311 in question
I'm trying to setup a mercurial code sharing server on an Ubuntu machine but I can't figure out how to get it running. I'm setting up this server on a LAN so I don't want any security. Another thing I should mention is that I'm using Netbeans to code in Java. how use mercurial and tortoise (I've got them installed).
It's more just straight networking rather than Linux related - possibly a rather large gap in my knowledge.Been asked to set up a Linux firewall / router for a friend, and he wants an external address on his PC and his firewall. He's got a /30... ISP seem to think this is normal. My understanding was different router interfaces should be in different subnets when it comes to addressing. eg:
WAN 1.1.1.1LAN 192.168.1.1/24 (then PC 192.168.1.2)This is how I'd set up an enterprise router, and from memory how I had to regurgitate networking for my Cisco exams. But they would have been large devices within a BGP environment, how does this compare to home use? Can you have interfaces on the same router within in the same subnet? I'm looking for the real world answer - not my CCNA answer or the config addressing scheme I just blindly followed...Is this right or can different interfaces be in the same subnet?If they can be in different subnets How would you do that with an eternal 1.1.1.1/30? egWAN 1.1.1.1LAN (what IP?) then PC 1.1.1.2Would you actually just set the router up as a /29 and then use the additional IP addresses for the LAN NIC on the router? (yes I'm aware you couldn't route to where it had actually been allocated)
Then with that how do I route the 1.1.1.1/30? Which interface do I point it at? Even with a /29 I'd still have a routing issue right?Or are the ISP expecting you to do something with NAT / port forwarding. (and yes I could do this to get it working - but I want to understand it better) I'm asking the question here, because rather than just wanting a magic file to get things working, I'd actually rather understand the principles rather than just press a button and have it work.
I am in a VMware environment, and using RHEL 5.4. I am trying to setup a PXE Kickstart installation. For this I have configured DHCP and TFTP, made a kickstart file and shared it in the network through HTTP. My problem is that somehow kickstart file (ks.cfg) is not picked by the machine in which I am installing the OS. Although, the contents of my kickstart file can be viewed over HTTP. Please see KS_Error.jpg.
[Code]....
However, I believe DHCP and TFTP is working fine as I am getting the correct IP 192.168.1.115 which I have set in /etc/dhcpd.conf. Also, my label 1 which I have set in /tftpboot/linux-install/pxelinux.cfg/default is working fine as I able to locate initrd and vmlinuz. Please see attached Image_1.jpg how to troubleshoot this. I need to paste any of my configuration files?.
I'm using Ubuntu 10.04 LTS. How can I connect to a Windows machine? I'm trying to connect to a VirtualBox machine with Windows XP on it. I can connect from the VirtualBox to Ubuntu. But, can't find a way to do it from Ubuntu.
I have a Posh new 64bit Ubuntu computer with one of the latest distro's on it,works loverly.this is in my front room.In my beroom I have an older box with Xbutu 10.10 installed which I want to use to play movies into my telly that are stored on the ubuntu box which is connected to the same sky router.I tried ubuntu before xbuntu to achieve this ,which worked with "connect to server",but the bedroom machine doesnt have the Ooomph to play movies without clipping the video part.I was hoping Xbuntu would free up enough resources to enable the playing of movies, and it is indead more suitable,but I cant work out how to connect to the files on the ubuntu machine.
I am used to using Ubuntu Desktop edition (Lucid Lynx to be exact), so I downloaded Ubuntu 10.10 Netbook edition for my little Acer Aspire One. One problem though. The places menu isn't there anymore.
How do I connect to a windows machine share? I tried searching the forums, but they all mention using Places > Connect To Server.
I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines? Please note: I am very inexperienced in the IT field. [URL]...
I can't connect a printer to my machine that's running Ubuntu 10.04 because it's outdated; however, I have another computer (Mac) that has a printer attached to it. Does anyone know how I can connect to that computer form my Ubuntu machine and send over documents to be printed on my Mac? Maybe through a remote desktop? Or SSL?
I installed XRDP on my home machine, made sure the service was running, NAT'ed ports 3350 and 3389 TCP to the machine in my router and punched corresponding holes through Guarddog on these ports on the machine as well, but connecting with: rdesktop -f "my IP here" from my workplace doesn't work. I get "unable to connect".
I have a feeling, it's still the firewall. Do I need to tick permitting the rdesktop protocol in both the "local" and the "Internet" zone or do I need to also establish specific custom rules?
I am having problems connecting to my Fedora machine wirelessly. What i mean is that if i try to access samba \192.168.1.93 rb while connected to my wireless network i can't connect.The only way I can connect to this machine is if i connect my laptop directly into the router then i can successfully connect.Does anyone have any idea why this is happening? The strange this is i used to could connect wirelessly.
Trying to set up a LAN with an FC14 laptop, FC15 PC and a Windows machine running XP. I have SAMBA installed on both FC machines, but neither of them can see shares on each other or the XP machine. I can ping between all of them. The Windows machine sees all of the SAMBA shares.
When I attempt to Connect to Server under Places on the FC15 PC, I do not have a Windows share option to choose from as I do on the laptop, suggesting smbclient isn't configured correctly on that machine. SMB, NMB and WINBIND are installed and activated on startup on both FC machines. Although I have the Windows share option on the FC14 laptop, it will only connect with the IP address.
Firewalls and SELinux on both machines are disabled. Here are some configuration details:
So I keep reading that bonding ethernet devices is supposed to be easy. I have followed several tutorials and tried a few things on my own, and I can't seem to get it right. I currently have a setup that allows me to ping internally on my network, but when I try to ping externally I get the error: connect: Network is unreachable
Before I bonded the interface my connection worked fine. Here are my config files. I am running centos 5.3 on a virtual machine. /etc/sysconfig/network-scripts/ifcfg-bond0
I installed samba and samba-client (sudo yum install samba samba-client) but I still cannot connect to this Windows machine.I installed samba, started the samba services (although that may only by necessary to connect into Fedora?), and even restarted the computer and I still cannot do this, I have been googling like crazy and only se articles on how to make Fedora a samba server...
I have two machines in different location, lets say machine A and machine B.
Machine A: - Linux Red Hat OS. - Has internet connection (no proxy). - Has public IP.
Machine B: - Windows XP OS. - Has internet connection (with HTTP proxy). - Has connection to machine C and machine D. Machine C and D don't have internet connection, but machine B can connect to those machines because machine B, C, and D are located in the same network.
I need to connect machine C and D via machine A. I heard it can be done using ssh between A and B, but I don't know the details.
I'm know very little about Linux but decided to set up a machine running Drupal CMS on a Debian machine and it won't go. The folks at Drupal have tried to help but it seems the Debian OS won't do it's PHP thing for Drupal.
That means i'll have to start at the START I guess.
how to become a master of Linux if one is starting from ABC (I can add and subtract, that's what it feels like)
i'm setting up apache on 5.3. i can access the apache test page without a problem from the server via URL... But i can't figure out how to access this page from another computer within the domain (for when i upload my home page.
I've set up a PC installed with Ubuntu 11.04 on my home network, given it the name "server" and given it a static IP of 192.168.1.200. I've created a file in the home directory called "Public" and set it to be shared with everyone, basically a chmod 0777 situation. Now, how do I connect, or map out that folder from another ubuntu 11.04 machine? I know how to do it in Windows, just hit "run" and type in "\server" and blamo, I can see everything that's shared on that machine. I can't figure out how to do this with Ubuntu.
At school can connect to my computer via SMB/Samba and VNC from the Windows Machines, but not by hostname (I still cannot VNC in at home on my desktop computer and have yet to try Samba there because I wanna setup Samba there from the comfort of my laptop and therefore need VNC first). How come I cannot access this machine by it's hostname?
I remember it being really easy to add a printer attached to another computer using Ubuntu, but I don't remember exactly what made it so easy. All I know is that now that I have switched to Kubuntu the process has become much harder because now I have to find out some special locations, numbers etc. for it to connect to the printer. It's connected to a Windows XP machine on the other side of the house. It says alot about 'contacting the network administrator' if I am unsure about what to put in. But I am more or less the network administrator. how to find out what numbers to put in so that my Linux machine can connect and print to the Windows machine? Or maybe someone knows a few commands to share? I go to Applications > Settings > System settings, Printer configuration, New Printer, New Network printer, and then there are a few options but I don't know which one to choose. Windows Printer via Samba, I guess? Then in the box that says smb://[enter stuff here] I need to put in info but I don't know how to find that info.