Configuring SSH on Ubuntu to connect to remote computer
- date: October 27, 2012
I'm having problems when I try to connect remotely to other computer using open ssh server, using this command:
ssh [email protected]
it returns "connection timed out" after a while.
So, I went through all sorts of websites and tutorials to see what's going on. I tried enabling the standard port 22 on my firewall and tried to create a static IP adress so I can use port 22 properly. But it looks it doesn't worked.
I don't know if this makes any difference, but my Ubuntu is connected via wireless to a router (D-Link DI-524) and I tried to change some configurations on it too. But still it doesnt work at all.
Any clue please? I'm using ubuntu 11.10. Cheers
play sound on remote computer through ssh?
location: linuxquestions.com - date: December 14, 2005
Im sitting on my bed with my laptop.
my desktop as a few feet away, and I want to listen to music on my desktop. but I don't want to get up and login to gnome or whatever to play some of my mp3. but output of sound should be delivered to desktop speakers, not laptop.
I can ssh to my desktop. then i'd like to execute a command like "kaboodle mysong.mp3" and then start hearing it from my desktop speakers.
(other command than kaboodle is fine, is there a console command to play sound?)
ssh commands execute locally instead of on the remote computer
location: ubuntuforums.com - date: July 12, 2010
I can ssh to the remote computer OK, but the commands execute on the local machine, not the remote machine as they should. After much frustration I did the following hoping to clear the problem.
I turned off all machines on my LAN, the hub and the router. I then rebooted everything in the reverse sequence - cable modem, router, hub, and then the computers.
Then I reinstalled ssh on both machines.
sudo apt-get purge openssh-server openssh-client
sudo apt-get install openssh-server openssh-client
sshd in now running and port 22 shows on both machines. However the problem persists.
Lets' call the two machines L for local and R for remote.
ssh R (OK)
ls (NOT OK – shows the home directory of L not R)
But if I reverse the order.
ssh L (OK)
ls (OK – shows home directory of L)
It works in one direction but not the other. I'm not sure whether the problem is with the local openssh-client of the remote openssh-server.
ssh remote computer file transfer
location: ubuntuforums.com - date: August 22, 2013
I am trying to use a cluster and logging in into it through ssh, i was just wondering how can i transfer files from my computer and vice versa? What directory path line should I use when logged in ssh session?
Tunnel all internet traffic through a ssh connected remote computer
location: linuxquestions.com - date: November 25, 2004
I've recently started using a "telephony over internet" service from a telecom operator.
The company solution is that You connect Your normal phone to an ip phone box, which itself is connected to the internet.
The Ip phone box needs the following to work:
* A DHCP server providing it an ip address, subnet, default gateway, DNS, etc.
* Has to be reached on five specific ports, say 1000-1005.
* Connect to various ports on various internet addresses.
As of today, my configuration is as follows:
* The uni computer is equipped with 2 eth cards.
* One of them to the internet (static, public address), the other to the ip phone box.
* There is a DHCP and a Ip forwarding service running and creating a internal, DHCP distributed network to the phone box (172.16.1.12).
* Forwarding through masquerading enbales the information on port 1000-1005 to reach the phone box.
A graphical approach:
[SOLVED] using ssh on remote computer to connect to home computer behind two routers
location: linuxquestions.com - date: December 21, 2012
I have used ssh to login remotely to other computers. But when I tried to login to my home computer, I have run into a problem.
My home network is a 192.168.0.xxx. I used the website WhatIsMyIP and found out that my IP was 67.127.xx.xx. When I had problems connecting, I noticed that my router shows its wan connection is 192.168.1.64.
From this information, I believe that when I try to remote into my home computer, I use the internet IP 67.127.xx.xx which connects me to my dsl provider. The dsl provider connects that IP to a router which issues an IP of 192.168.1.64 to my home router. My home router handles the next step.
The above means that my home computer is behind two routers and I only have control of my own router. I certainly do not have controlvof the dsl provider's router and I cannot get rid of it.
Since I know the IPs of each step, is there an ssh command to allow me to connect from the remote computer to my home computer through both routers?
running firefox on a remote computer
location: ubuntuforums.com - date: March 2, 2011
I wanted to run firefox on a computer that I access using ssh. The machine I'm accessing has linux installed, and I'm using Ubuntu 10.10.
When I try
Error: no display specified
Also when I echo $DISPLAY variable on the remote computer I get blank.
How can I run firefox on the other computer, using other computer's memory and see it on my computer's display?
unable to send messages to remote computer using notifysend
location: ubuntuforums.com - date: August 1, 2010
I am running Ubuntu 10.10 on two of my laptops. I want to send message from one of them to the other using notify-send. I have connected to the remote laptop using ssh as -
$ ssh -X 192.168.1.x
after entering the appropriate password the ssh connection to the remote laptop is established. Then I enter the following commands -
$ export DISPLAY
$ export XAUTHORITY
$ sudo -u username /usr/bin/notify-send "Hello" (where username is the username on the remote system)
after which I get the following message -
libnotify-Message: Unable to get session bus: /bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.
I have been breaking my head on this for a long time now but there is no further progress. Any suggestions?
Thanking in advance,
[SOLVED] SSH to remote computer and use bit torrent
location: ubuntuforums.com - date: January 3, 2009
I have used Ubuntu for a bit and can get along with the command line but still mostly a beginner. I have done various things from various articles regarding the topic, but just need some clarification to bring it all together because I can be dense.
Problem: My school blocks any kind of bit torrent traffic in or out. I am able to download .torrent files through www.txtor.dwerg.org but cannot get them to start while in my school network. So I would like to be able to download the torrent through a laptop I have at home(Xubuntu 8.10) and copy the contents over to my computer at school(Ubuntu 8.10).
Through various articles I have gathered that the best way to do this is with a SSH connection with X11 forwarding enabled. Is this correct? From there I can run Transmission on my home internet connection. I enabled X11 because I would get "no display detected" error if I tried to run a program over ssh.
So far I have setup openSSH server on the home laptop and can succes
notifysend to remote computer help
location: ubuntuforums.com - date: July 25, 2009
For the last couple days, I've been playing around with pygnotify, and have been able to get my Ubuntu machine to send Growls, both locally and accross the internet, to my Macs. Now, I'm trying to do a similar thing, but between two Ubuntu hosts in the LAN, and am having a difficult time.
I can use notify-send subject text to growl locally, but how would I go about doing this to another host. ie. I'd like one Ubuntu server to tell the other Ubuntu machine on the LAN that it will be shutting down soon. etc.
Any thoughts on how I'd go about doing this?
Page: 1 2 3 4 5 6 7 8 9 10