Ubuntu Networking :: Seamless Ssh Through Intermediate Host?

Sep 17, 2010

My situation is that I've got a home connection, with a router that my ISP won't let me access (to forward ports etc), and all incoming ports blocked as far as I can tell. I would like to be able to get around this and allow incoming ssh connections to a home PC. To facilitate this I've got an (user) account on a remote shell account, which does not have all its ports blocked and which I'd like to use as an intermediate to ssh into my home machine.

What I've managed so far is to ssh into the shell account (let's say it's on intermediate.host) and tunnel a port back to my home machine (let's call it home.host) by running the following on home.host:

ssh -fNR7777:localhost:22 myuser@intermediate.host

Then, I can ssh into my home machine from the shell account with a simple:

ssh -p 7777 myuser@localhost

OK, well and good, in principle I can then ssh into the intermediate from anywhere, and from the intermediate ssh into my home machine. BUT, I'm curious if it's possible to make this a seamless procedure so that if I connect on a particular port to the intermediate, it simply puts me onto the home machine directly (with appropriate ssh keys in place, of course.)

One reason is it would be more convenient. Another is I would like to be able to make sftp connections to the home machine from anywhere, which I don't see would be possible with the above method. Still, it should be possible, right?

So three questions basically:

1. Can I somehow make the connection to my home go seamlessly through the intermediate host?

2. Can I do this without root access to the intermediate? (I've only got a regular user account there.)

3. Is there any way to do this so that another person could reach my home machine (say for sftp access) without giving him my login details for the intermediate host? (I would create an own account on the home machine, obviously.)

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: Windows XP SP3 In Seamless?

Oct 14, 2010

I've got terrible hardware, and I'm running Windows 7. I really have gotten used to it, and I love it. But it doesn't run like it should my my rig. Specs:

Intel Celeron (D?) 2.4GHz
Integrated Intel 82865G Graphics
2Gb DDR RAM
40GB OS drive
20GB Storage drive

I'm really used to 7, but it just doesn't run right. So my theory was that, if I could install Ubuntu, I know it would run better. But what about compatibility? I figured I could just install Windows XP SP3 in a virtual machine, and put it in seamless mode. Would this work?

View 1 Replies View Related

Ubuntu :: Running Virtualbox Seamless Mode On Boot

Jun 30, 2010

Essentially the title says it all. I have windows 7 installed and have no problems with virtual mode but how would I go about having the computer boot into ubuntu (KDE) then boot the virtual machine only to follow with seamless mode? I don't care if I can see the process work, by that I mean the booting of windows.

View 5 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

Ubuntu Networking :: Host Able To Ssh To FreeBSD Host?

May 19, 2010

So here's the setup:

Ubuntu 10.04 host inbound port 22 open
FreeBSD 8.0 host no inbound ports open

Both hosts are running sshd currently. What would you do for the Ubuntu host to be able to ssh to the FreeBSD host? A tunnel?

View 6 Replies View Related

Ubuntu :: Can't Activate Intermediate Or Advanced Graphics?

May 1, 2010

I just installed Ubuntu 10.04 on my desktop after Windows 7 screwed up. I am running an AMD 64X2 2.6GHz CPU. An nVidia 8800GT GPU card. And for some reason I can't activate intermediate or advanced graphics. I am sure it is a driver problem, but I am unsure how to fix it.

View 3 Replies View Related

Networking :: Very Low Network Performance In Host-to-host Connections

Jan 27, 2009

The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:

- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.

View 2 Replies View Related

General :: Looking For Intermediate Distribution

Dec 13, 2010

I've used Ubuntu for about a year now and I really want to move on to a distribution that involves more hands-on customization and more cutting-edge packages (with a wide availability). I'm mainly looking at Debian Testing, openSUSE, and Fedora, but I'm open to any other suggestions. I know Debian has a huge repository of packages, and I was also wondering if there were any good third-party repositories to get significantly more packages in Fedora or openSUSE.

View 14 Replies View Related

General :: Must I Sftp To An Intermediate Server?

Mar 26, 2011

I can't sftp directly into a particular host. To move a file from my home machine to the host, I must sftp a file to an intermediate host; ssh into the intermediate host; and sftp the file to the final destination. Is it possible to avoid such madness?

View 5 Replies View Related

Ubuntu Installation :: Intermediate Distrution Upgrade / No Longer Boots

Jul 22, 2010

Summary: After intermediate upgrade, Ubuntu Lucid LTS 10.04 64bit Desktop Edition will "NOW" not run in any Graphics mode on my machine.

General; Ubuntu has been my favorite OS to live on, play and relax. I have to use other OS'es, but I choose Ubuntu as "mine". I can go around it safely and tweak it to my own likings and needs. It has also been a great tool to exchange things between other OS'es.

History: I started with Ubuntu Karmic Koala 9.04 64bit Desktop Edition. Last March, I upgraded to Ubuntu Lucid LTS 10.04beta 64bit Desktop via the Update Manager, using Ubuntu's instructions... as a Beta Tester. I kept up with Updates and everything had been fine.All went well, albiet minor adventures that gave me oportunities for enriched challenges and training. Overall, since the early days of that, my system has been very stable and reliable- Until last Saturday through Yesterday...

Problems: First thing I noticed is that there were some security updates Friday. Saturday when I came up into Ubuntu, it came up in error saying it had to come up in a low graphics mode. I shut down the system and restarted. It came up fine and I thought nothing more of it at the time...

Second, I tried to install Ubuntu Lucid LTS 10.04 64bit Server Edition on another drive. My other drives were isolated. Although the install said it was successful, on reboot, it would not boot the system. It would get a purple splash on my screen, then either lockup or go to a text based screen dump. Server Platforms said this was a text based OS and couldn't explain the purple flash or the error... I shelved this project until later and thought nothing more of it.I checked for updates through the weekend (even though there usually isn't any on weekends), and as usual it said everything was up-to-date.

Third, Monday the "Update Manager" said there was too many updates to do at once, that it needed to do a partial update. I selected, but it couldn't complete, because it said that there was conflict on a KDE package that it said it needed to remove, but couldn't because it was in a blacklist. It further said that this could have resulted from a DEV vervion of Ubuntu.

Fourth, I upgraded some packages through the Synaptic Package Manager, to try to reduce the number of packages that the Update Manager was trying to update. All those packages said they updated fine. I then went back to the Update Manager and it still said it needed to do a partial update... but it completed and said it was successful. I noticed that the top of the dialog box was tiltled "Distrubution Upgrade." I noticed that some of the files seemed to be an xorg upgrade... After the update, I had to do other things, so I shut down my system.

That was the last time this machine has been able to start Ubuntu. When Ubuntu tried to startup, it said it had to boot in a low graphics mode, but could not- it blasted the monitor with vertical purple and red lines.I had a copy of the Ubuntu Lucid LTS 10.05 64bit Desktop Edition LiveCD on my other machine. I burned a CD and tried. The only mode I can get to boot from the CD (on my machine) is in a text console- no xwindows system. On starting up an xwindows system will blast the grahics of the monitor, then (sometimes) continue to a monitor test-based screen dump that flashes by until the system locksup.

View 6 Replies View Related

General :: Access Compressed File Without An Intermediate?

Jul 19, 2010

I'm trying to figure out how to access compressed files without uncompressing them beforehand, and also without modifying the application/script I am using. Named pipes do the trick, but only seem to work once

In one terminal I do this:

Code:
$ echo "This is a file I'd like to be able to read." >> my_file
$ gzip my_file
$ mkfifo my_named_pipe
$ ls
my_file.gz my_named_pipe
$ gunzip -c my_file.gz >> my_named_pipe

[Code]...

View 3 Replies View Related

Fedora :: Guest Additions After Upgrade - Features Missing Like Seamless Mode - Shared Folders

Feb 18, 2010

I am new to Fedora and Linux. I have installed Fedora 12 on virtual box and installed Guest Additions. Later I did upgrade Fedora updates and noticed that my Guest Additions features were missing like Seamless mode, shared folders etc. Hence I had install Guest Additions again. So every time when I do Fedora updations, do I need to re-install Guest Additions or am I missing something very obvious?

View 9 Replies View Related

OpenSUSE Install :: Seamless Mount Of Encrypted Disks And New Session Creation After Each Screen Lock?

Sep 8, 2011

I installed openSUSE 11.4 on HP elitebook 2560p few days ago (using KDE live CD). In general system is working fine, but steel I cannot resolve couple of really annoying issues: 1. I've created encrypted partitions for swap and home during OS installation. As result the system keep asking for passwords for each of encrypted partitions before show login screen. That leads to situation when I have to type 3 passwords during each boot/reboot. I was using the same configuration (swap and home were encrypted) on Ubuntu 11.04 and there both encrypted partitions were mount automatically with no password typing after login to the system. Could you please tell how I can configure the same behavior on openSUSE 11.4 ?

2. I've enabled auto screen lock after 5 mins being inactive. As result when I going back to laptop and to unlock the screen the system shows login screen (default login screen with user selection). But when user and password filled in I click login it creates entire new KDE session. Therefore all staff that was open before screen lock is gone. However old session is still in the system (it appears in output from 'w' command).

View 6 Replies View Related

OpenSUSE :: GNU Make Keeps Deleting Source (intermediate) Files

Aug 13, 2010

I have a strange issue, when I run my build on my modules. GNU make keeps deleting the source *.c files from all of my modules. It says that they are intermediate files, and deletes them. I have the source files declared as such in the Makefile.

C_FILES = file.c

Anyway I can prevent this deletion?

View 9 Replies View Related

General :: Copying A File As Root Through An Intermediate Computer?

Jul 23, 2010

I am trying to copy four files from my machine, through a second machine, and finally to the destination. The destination computer can only be reached through the second computer, and I am curious to know if there is an easy way to do this. I am able to ssh to the middle machine and then ssh from there to the destination. I know that I could just copy from the first machine to the second, and then from there to the third. I guess that I'm curious to know what kind of command I can run to do this all at once or even if I could do such a thing (which I'm betting I can). I need to copy these files as root on the destination machine too.

View 6 Replies View Related

Fedora Networking :: VM Can Ping Host And Internet But Host Can't Ping VM

Jan 19, 2010

Host - Fedora 12 64bit
KVM
VM - Windows Server 2008 64 bit
bridge-utils

VM can ping host and Internet but host can't ping VM.

I set VM static IP 192.168.0.205.

It turns out dynamic IP - 192.168.0.55

On host:

View 2 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

View 2 Replies View Related

Ubuntu Networking :: Could Not Resolve Host Name?

Apr 29, 2010

I'm having an issue where some of my machines hostnames are no longer able to be resolved after setting up a mythbuntu backend to allow netboot. Also it seems that which machines hostnames get resolved is not consistent. (ie sometimes one gets resolved and sometimes it doesn't) I suspect that it has something to do with the changes I made to "/etc/ltsp/dhcpd.conf" to get the netboot running.

I have a Verizon DSL modem/router as 192.168.1.1. Up until playing with the "/etc/ltsp/dhcpd.conf" I saw hostnames of all of my machines show up in its network map. Now, some of my machines still get network access but their hostnames are no longer resolved. What did I do wrong? Here is my dhcpd.conf file:

Code:
# Default LTSP dhcpd.conf config file.
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.250;

[Code]...

View 4 Replies View Related

Ubuntu Networking :: How To Host Own Webpages

Jul 5, 2010

How to can I host my own domain by myself for free?I've installed phpmyAdmin, ehcp, filezilla, mySql, mySql query browser, proftpd, gforge, wordpress, activeperl.I'm not sure either how to make a domain name for my IP address and how to use dynamic DNS.

1) OK, I've got to admit that I'm a newbie in networking.
2) I'm lost with tons of different programs, I don't know where to start from now, there are many methods. I have made many user names and passwords...
3) What to do? I don't want a local web page, All I want is get my web page on Internet where anyone else can visit it.

View 9 Replies View Related

Ubuntu Networking :: Two Interfaces In One Host?

Feb 6, 2011

I have a laptop "fura1" with two interfaces, eth0 (Ethernet) and eth1 (wifi), which I assign IPs 192.168.1.10 and 192.168.1.11 respectively. Then a desktop "fura2" with only one interface eth0 (Ethernet). Both are connected to a local network along with other appliances. My doubts arise on how to configure the /etc/hosts file of the desktop "fura2" taking in account that "fura1" has two interfaces, so two IP, but, obviously, only one hostname.

My first attempt for /etc/hosts of "fura2" was:

127.0.0.1localhost
127.0.1.1fura2
192.168.1.10 fura1 fura1.workgroup
192.168.1.11 fura1 fura1.workgroup
192.168.1.102 PDA PDA.workgroup
192.168.1.103 MT MT.workgroup

But it seems to my that assigning two different IPs to the same host is not a good solution. On the other hand, if I give different name to each interface, I will got a host with two hostname (?).

View 2 Replies View Related

General :: Transfer Large Number Of Files Host To Host

Oct 20, 2010

I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.I don't have space on the used host to simply gzip all the files. I've googled this and see that there may be some combination of tar and/or gzip that will let me do this with some sort of redirection.

I really need and example line of how this can be accomplished. If my explanation seems rather sparse, I can supply more details.

View 3 Replies View Related

Server :: Apache2 Virtual Host Defaulting To Default Host

Oct 30, 2009

Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.

View 1 Replies View Related

Software :: Get Synergy Up And Running Between Windows 7 Host And Arch Host

Jul 3, 2011

I'm trying to get Synergy up and running between my Windows 7 (server) host and my Arch Linux (client) host. In rare exception, synergy works perfect on my windows host, however every time I try and run Synergy on my linux machine I get the following error in messages.log:

[code]...

I'm running Arch with a barebones Xorg install and SLiM with LXDE. I'm not sure what in the world is causing the problem and haven't been able to find anything of substance in a search.

View 2 Replies View Related

Ubuntu :: Copying A File By Rcp To Rcp Host To Host

May 9, 2011

I am a bit of a n00b when it come to linux but I am setting up a test environment were I have a appliance monitoring network traffic. Part of my test requires me to copy a file via RCP from one host to another host. I have two ubuntu boxes. I have allowed the subnet in the etchost.allow for ALL. I have installed rsh-server

When I try to copy the file it looks like it tried to use SCP instad of RCP because it connects to 22 instead of 544. Also note that traffic must be unecrypted thus me trying to use Is there anyway to make ubuntu go old school to allow me to use rcp instead?

Code:
testuser1@ubuntu:~$ rcp /home/testuser1/test.txt testuser1@10.46.41.38:/home/testuser1
ssh: connect to host 10.46.41.38 port 22: Connection refused
lost connection
testuser1@ubuntu:~$ rcp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[Code]....

View 3 Replies View Related

Ubuntu Networking :: Can't Reach Any Host With Either Interface

Mar 30, 2010

I am running a server that needs both a wired and wireless connection with static IPs, with wireless as the default link. I'm using the SMCWUSB-G for wireless. I was running Debian for a while and had some routing tables set up as in [URL].... Everything worked until I recently switched to Ubuntu Server 9.10. After the switch a weird behavior showed up: if wlan0 is down, eth0 works fine. But if wlan0 is up, I can't reach any host with either interface (even nameservers or the gateway I am supposedly connected to). ifconfig indicates that nothing is wrong. It's really not clear what is causing this problem. It seems like something has to be wrong with both the wireless hardware/drivers and the routing tables in order for turning wireless on to interfere with "ping -Ieth0".

[code]...

View 9 Replies View Related

Ubuntu Networking :: Can't Ping URL - Unknown Host

Apr 5, 2010

I am using ubuntu 9.10 and I still cannot figure out this thing. I work behind a proxy managed by my university. Now, I cannot ping the other users on my network although they can ping me. Not to mention, I also cannot ping [URL]... It says : ping: unknown host [URL]... But I can ping the proxy server.

View 4 Replies View Related

Ubuntu Networking :: Can't Ssh Into Computer - Says No Route To Host

Apr 11, 2010

I have 3 computers on a local home network. Computer 1 is not receiving incoming anything from other computers on the network, and I don't know why. The regular internet works fine. Computer 1 can ping and ssh into either 2 or 3. 2 can ping and ssh into 3 and vice versa. But nothing can ping OR ssh into 1. Trying to do so says "no route to host". All computers are running Ubuntu Karmic. I don't even know where to start figuring out what's causing this, but it's probably something simple. I'm using the IPs I found listed in my wireless router's web-based control panel.

View 9 Replies View Related

Ubuntu Networking :: Resolving Host Problem

Apr 30, 2010

I have a strange problem with wireless internet connection. We have 3 computers, 2 of them with Win 7 and 1 with Ubuntu 9.10 + Win XP.

Now if all three computers are connected to the internet through wireless router, the computer with Ubuntu 9.10 frequently fails to resolves hosts using various web browsers. I have to disconnect and reconnect to the router to get internet back but it only works for a maximum of 1 minute before it fails again. If the 2 computers with Win 7 logs out from wireless connection then the Ubuntu 9.10 machine works just fine for long periods.

If i boot with Win XP internet works perfect even when the other computers are connected but i really want to use Ubuntu 9.10. The wireless chip is an Atheros 9285.

View 5 Replies View Related

Ubuntu Networking :: Cannot Ping/network To Host On 2nd Nic

Aug 11, 2010

I have a somewhat complicated network setup that I am testing on an internal network. I have the following route setup:

PC Client (192.168.2.100) --> Router (192.168.2.1) --> DSLAM (on our internal network) --> PPPOE Server (192.168.9.1) on Linux Ubuntu 8.04 on interface card eth2.

On the same Linux Ubuntu Machine on interface card eth1 (static IP 192.168.5.100), I have an Asterisk SIP server plugged into it. SIP Server = 192.168.5.101 (static) I need the PC client (192.168.2.100) to register via SIP soft phone to register on the SIP server (192.168.5.101). From the PC client I can ping as far as the eth1 interface (192.168.5.100)...but cannot ping the SIP Server (.101).

From the SIP server (192.156.5.101)...I can ping 192.168.5.100, I can ping 169.254.5.228 (Eth2:avahi), but not sure what that is. I cannot ping the pppoe default gateway (192.168.9.1), which I think you cannot anyway. No firewalls are running. My IPtables I cleaned out totally. I think it might be as simple as a route add, but I really have no clue. Tried building a virtual bridge using brctl LINUX betweeh eth1 and eth2, but that made things worse (could not ping anything after that)

Route table:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.9.100 * 255.255.255.255 UH 0 0 0 ppp0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth1

[code]...

View 1 Replies View Related







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