Server :: SSH On Multiple Computers In Same Network
Dec 29, 2010
I am setting up my home network. Currently, I have one computer (Munchen) which I have set in my router to receive SSH requests. This works just fine; I can SSH into that box from anywhere. I just put together a new computer, which I want to be a file repository, my ftp server, my http server, etc. What I would like is to be able to SSH into that machine from anywhere, then SSH into the other computers on that network from there.
Here is where I really don't understand the concept of what is going on. I can SSH past the router into one computer just fine either from anywhere (that makes sense to me). I can SSH from my new computer (Chemnitz) into Munchen (which is where the router points to and is running sshd) by using its local IP address, but I can't go from Munchen to Chemnitz (even though the server is running and the firewall should be allowing the connection). [URL]
Details of the system setup are below.
Munchen (receives all port 22 requests now)
Ubuntu 10.04
Chemnitz (I want to receive all port 22 requests and SSH into other computers on the network from it. Ultimately it will be a file sharing box, hosting a webpage, running an ftp server, etc.)
Fedora 14
I will cut to the chase. I am running three ubuntu computers on my local network:my desktop which runs ethernet, and two laptops which run wireless on the same network, and all from the same router. For purpose of this thread, I am concentrating on this one issue with pulse(assuming its pulse doing this). When I have two computers running at the same time, or even all three, I can hear bursts of sound coming from the other computer, not all the time, but consistently. I don't know what is causing this. I've searched hi and low in all ubuntu pulse audio forums and those mentioning pulseaudio and I have not seen this issue posted anywhere. Most threads deal with issues of not being able to get pulse to recognise audio from one computer to the other...mine is just the opposite...I'M TRYING TO STOP THIS FROM HAPPENING!...... If I'm listening to my music on my desktop, I don't want to hear what my son is playing on his laptop...and vice versa. all the computers at my home are running lucid lynx, latest updates and latest approved kernel as of the date of this post. 2.6.32-26-generic.
I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?
im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right
I'm looking for a program that I can use to keep track of how much bandwidth goes to the various computers in my small network.All of the bandwidth goes through my squid server, so the easiest would be to just have a program that can accurately analyze the squid logs and tell me how much bandwidth is going to the different computers.I've tried both "bandwidthd" and "calamaris" I can't figure out how to get either one to actually do anything in Ubuntu.
I have a debian home server right now, I'm using samba for my file server but I was wanting to stream my movies and music to my other computers. My family (the other users on the network) are NOT computer savvy, and to top it off they are using both Windows (xp) and Mac (Snow Leopard) machines. So I'm looking for software that is simple to use that will allow other operating systems to use it. I would think the easiest way would be to stream the music/movies through a home website. I have seen quite a few programs out there that stream music, but none for movies.
I have a very old machine running Linux (Fedora 12) with 2 harddrives and a DVD RW. I also have a newer Dell computer running XP. I would like to take the 2 harddrives and DVD RW from the older machine and put them into the available slots in the Dell computer and configure it for dual booting.
I'm trying to write a mass reboot script in the event of a power outage (servers go to UPS for some 15 minutes or so and shutdown uncleanly). What I have is a set of 6 common passwords which will be prompted for per ssh connection, is there any way I can cycle through this password list
Code: #below is an example of how this is constructed, IP's are used instead of hostnames due to the possibility of a DNS server being offline. SERVERSRM1="1 2 3" SERVERSRM2="110 120 130" For i in $SERVERSRM1; do ssh -n root@192.168.0.$i "hostname && shutdown -y -i5 -g0"; done;' for i in $SERVERSRM2; do ssh -n root@192.168.0.$i "hostname && shutdown -y -i5 -g0"; done;' Each time the code is executed I'm prompted for a password (it's always one of 6 passwords). It would be quicker to have the passwords be cycled through.
I realise this is basic code at the moment but it will eventually allow for a specific set of computers to be shut down based on what power supply they're using. Authorized keys not really an option given the scale of computers (some 300 or so).
I recently purchased a wireless USB dongle. It works great. I am looking to connect multiple computers to that USB dongle. I wanted to know if anyone out there knows if it is possible to link multiple USB cables together like a reverse splitter.
I'm a very inexperienced Linux user, just getting started, so bear with me. I was able install the printer drivers for a Brother network laser printer (HL-5370DW) and would like to install the drivers on a few other computers on my small home network. Is there a way to automate this process by pushing them out to the other computers, or should I just manually install them? It wasn't difficult, just wondering if there is a slick way to do this.
This may sound stupid but I've got to ask. Can I connect multiple computers running Ubuntu & run software from one computer from the other? I know how to connect using SSH & to copy files back & forth but I don't know how or if I can share programs.
We have a 10.0.0.x network with a working DNS Server (BIND) setup. Recently we purchased Watchguard firewall and configured three networks, so that our internal network can be divided into three networks and talk to each other through firewall routing. So I configured three ips 192.168.0.1,172.16.0.1 and 10.0.0.1 for local network card in the firewall router. I separated three networks and individually configured machines with static ip and given gateway as the above ips. Now, I need to configure DNS server for each zone in the same server which is in the network 10.0.0.x, is this possible?. If yes do I need to setup ip aliases for eth0 in the DNS server with different ips from each network?
I have what will soon become a file server here running Mandriva 2009.1 and I need to set it up for use. There are 6 physical drives, sda-sdf. According to my fstab (pasted below), the OS is installed on sdb.. and for some reason I have a swap partition on sda and sdb. I had a horrible time getting a working installation, and that's probably leftover from a previous attempt.
Question 1: Can I simply edit my fstab to remove the swap on sda, effectively confining all system resources to sdb? The end result I want is all storage space over all drives accessible from a single mount point which can be accessed over the network.
Question 2: Once I sort out the weird fstab, what's the best way to go about setting this up? I imagine I need to format & partition the other drives (all but sdb).. but as far as organizing the free space, what's the best way? Is it possible to have multiple physical drives accessible from a single mount point? Or will the users have to use each drive separately? I was thinking I could create a directory on sdb (in /home?) to use as a root for the network share, and then automount the other 5 physical drives there. Does that make sense?
Ever need to provide access to multiple PC's and did not have a router only a hub. Maybe this isn't original thinking, but then again maybe you didn't think of doing it this way (which i am sure there are many ways to do it) So I have 2 Ubuntu Servers, 1 Windows Box and a Hub - All 3 with internet access off of single ip and single Ethernet port.
While searching for a backup method today I came across Clonezilla. I was wondering if this was the right thing for me and since I needed to backup my roommates PC for a reformat and install of Windows I decided I would give it a try, but only if it would work. I didn't want the hassle of going into the main part of the house and finding out what cord was what as there is a cable modem connected into a switch (4 static IP's with internet) and one port of the switch hooked to a router) Anyways, didn't work he was on the router I was on the switch)
But this got me thinking. When I setup my server to do this, during one of the setup scripts it said it was setting up Internet access for client machines and that it was assigning them IP addresses threw a DHCP server that it had installed.
So, I dug up the hub connected the internet cable to hub up link and Server 1 on port 1 Server 2 on port 2 and Windows on port 3 The main server gets the internet provided IP address and routes it to the hub via a virtual interface. Server 2 is configured for DHCP and the windows box, It was set to get info automatically but it didn't fill the DNS info so I had to manually do that (just a heads up) I decided to use OpenDNS Servers (208.67.222.222 & 208.67.220.220) but im sure putting in the gateway IP address would have worked too.
So, by now if you need this I am sure you are excited and want to get to it. Like i said there are probably other ways of doing it, ways that don't involve you installing clonezilla and DRBL, maybe even just DRBL is needed, maybe one of them installed whats needed as a dependency- all I know is it works, if you know - elaborate so people know, but hey- this way not only do you have internet access on all PC's you can deploy custom images to them as well.
I'm wondering a couple of things about my LAMP stacks:
1) How do I get a list of all the network cards installed in a linux box? I've run this command and it shows 2 network cards which is probably all of them: Code: mii-tool -v
2) How can I check the percent utilization of a given network card? I.e., at any given time, what linux command will tell me the how much of a network card's bandwidth is being consumed? I've checked both ethtool and mii-tool and I don't really see any helpful stats.
3) How can I make sure that a linux box will optimally use both network cards? I'm a bit fuzzy on how IP addresses and network cards and hostnames work together.
I'm trying to pass multiple dpmains thru one ubuntu server to various hosts on my local network.
[url] should be sent to the /var/www folder on the local host.
[url] should be forwarded to an IIS box on my local network (owa.nunya.local)
[url] should be sent to another ubunto box on my local network (smtp.biznet.net)
I have tried placing VirtualHost entries in /etc/apache2/sites-available/default and [url]and [url] both work but [url] gets forwarded to the c:inetpub folder on the IIS box.
I am at a university where my bandwidth is severely capped. I can start several other computers near me and download at the limited speed simultaneously. Is there any way for me to share the download between the computers to get the cumulative speed?
if there is a way to determine the external ip of other computers on a network. For example, if someone is sending malicious emails and you identify the ip that sent the email by looking at the original, is there a way from the terminal to figure out which computer on your network it was?
I just replace my Ubuntu 10.10 with the last one 11.04. I have a NAS and other windows computer that I used to share files with, but with the new Unity interface I don't know how to do it.
i am currently running Ubuntu 9.10 on my laptop, and the 9.10 netbook remix on my HP Mini. I have set up a Samba connection, so I can access the files from my laptop from the netbook, but I am wondering about software to make synchronization of particular folders in my home folder easier, especially since with my setup now, if I access my laptop's home folder from the netbook, I can see all the folders, including the hidden ones!
I have a mainly windows house with a notebook running Fedora 11. The problem is that when this computer is on the wireless network it shows no computers on the network. It gives me the error that it can't retrieve the shared list from server. However when I am using it on the wired part of the same network it will see all of the other computers. I was wondering if anyone here could shed light on what might be going on. I am not sure if it is a setting on the computer or something to do with the router. However I don't think it has anything to do with the router because I have windows laptops that run on the same wireless access point and have no problem
I have Ubuntu on one machine and open SUSE on the other. Both connected with an ethernet cable to the same router. Both connect to the internet ok. I did manage to set up 2 machines both running Ubuntu with file sharing but now I have switched one to SUSE I seem to be getting into a mess. Ubuntu sees the SUSE machine but does not open any folders. SUS does NOT see the Ubutu machine. I have looked for a beginners guide to setting up file shaing with SUSE without success. (I like SUSE better because I can use my Audiophile sound card "out of the box")
I was wondering if it were possible to add devices to my computers /dev folder over a network. In linux philosophy, everything is treated as a file, and if I can have my /home/user1 and /home/user2 folders located somewhere on the network, why not the devices in /dev? The idea is that I might control, say, a cd drive in another computer or, a monitor on another computer. Can anyone give me some thoughts on adding devices to my /dev folder over a network? The aim is to make something evil of course! (like a 10 monitor PC)
I have been trying to remotely access another computer (which is outside my local network) with ssh and have not succeeded. I've done everything I've seen nothing to suggest and as I opened port 22 on both computers, I have ssh configured so as to allow access from any computer (with password) and tried to log in using the external IP (the encounter with these online pages of "what is my ip"), I have a firewall turned off, the pc from which I agree is Fedora 14 that I want to access MacOS 10.5.8.
I need this because I'm running a very heavy program at the university that I can not run on my personal laptop, but do not want to have to go every day to college for this.
When I try to use Nautilus to connect to another computer on my network, and I attempt to connect using the name of the Windows XP computer I am connecting to, I get the following error; Could not display "smb://computername/". Error: Failed to retrieve share list from server Please select another viewer and try again. However when I attempt to connect using the IP address on the network, it connects instantly. smb://192.168.1.101/ Why doesn't it connect using the computer's name? What am I doing wrong?
in windows you do i think ipconfig and it shows all computers on the network and their ip's including yours , how to do that in ubuntu ? well i just want to see other computers and their ip's including their names ( in windows for names you use net view)