SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.
3
votes
2answers
12k views
How to solve: “Connect to host some_hostname port 22: Connection timed out”
I have two Ubuntu machines. Both have openssh-client and openssh-server installed on them. ssh-ing from machine G (fresh Ubuntu 11.10 installation) to machine K works great. But ssh-ing from machine K ...
2
votes
2answers
500 views
Execute a command on local computer from a connected remote SSH host?
Say I have connected to a remote computer via SSH. From a program on this remote computer, I need to execute a command on my local computer (the connection initiator).
Which raises the question: is ...
2
votes
2answers
663 views
How to pass arguments in a script using gnome-terminal
As part of a script I have
gnome-terminal -e "process involving another user"
Once executed this line, I have to write in the terminal 3 times the password of this user. I wonder how can I automate ...
1
vote
2answers
289 views
Can't start, stop, or interface with SSH service
Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh.
I ...
1
vote
2answers
188 views
SSH from external network refused
I've installed open-ssh-server on my home computer(running Lubuntu 12.04.1) in order to connect to it from school.
This is how I've set up the sshd_config file:
# Package generated configuration file
...
1
vote
1answer
82 views
What's the meaning of: /dev/rdisk0s1 and /dev/rdisk0s2s1?
I'm trying to use SSH to make a disk image by using DD on an iPod.
And I'm using this commands:
ssh root@192.168.1.100 dd if=/dev/rdisk0s1 bs=1M | dd of=iphone-root.img
ssh root@192.168.1.100 dd ...
1
vote
1answer
252 views
Broken fonts in Emacs over SSH
I'm having a problem with Emacs when I SSH from my Ubuntu 12.04 laptop to another Linux machine. FWIW, I believe the remote machine is using SUSE Enterprise Server 10 SP2, which is possibly quite ...
1
vote
1answer
40 views
I ssh into server A with a common username, when i try to ssh into server B with passwordless I am asked for a password
The problem is that when other users login to server A with the same common username they are able to ssh into server B with passwordless login working. This means that it cannot be a permissions ...
1
vote
1answer
420 views
File manager (Nautilus) hangs or is ultra slow when listing contents of ssh/sftp server
I used to use File --> Connect to server to connect to my remote ssh a lot before 12.04/11.10. But now in a fresh install of 12.04, whenever I try to access the remote files, nautilus either always ...
1
vote
1answer
2k views
host key verification failed from “connect to server” utility
I am able to use SSH from terminal but I am not able to use it from "connect to Server.." utility.
it is showing the error in the dialog box as below:
Cannot display location ...
1
vote
1answer
898 views
xrdp setup over ssh
Here are the steps to install xrdp on ubuntu 12.04 and get it working:
http://www.ubuntututorials.com/remote-desktop-ubuntu-12-04-windows-7/
However, I want a secure xrdp connection over ssh and ...
1
vote
1answer
176 views
Log into desktop using SSH?
A few months ago I converted an old desktop computer into a basic server by putting Ubuntu (desktop version) onto it and setting up apache2, etc. I have SSH configured so that I can work on it ...
1
vote
1answer
1k views
Installed Xubuntu desktop on Ubuntu 12.04 server and now can't connect via SSH
I have a ubuntu 12.04 server that I could connect to fine using ssh over the internet. I installed the xubuntu desktop on it, didn't change any settings, then suddenly ssh stopped working.
I can ...
1
vote
1answer
258 views
Mount folder using ssh twice (first ssh to gate, then from gate to workstation)
My current situation is that I have my personal laptop, and I there is a workstation I need to be able to mount. But before I can get to that workstation, I first need to ssh into the gate of the ...
1
vote
1answer
608 views
SSH Daemon does not autostart
I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
1
vote
1answer
590 views
SSH connection reset by peer after 11.10 update. (Proxy Issue)
My work computer sits behind a proxy (I know thats where the problem lies.) I was running 11.4 and using ssh to establish a socks proxy to my server at home. I can still connect to that server from ...
0
votes
1answer
14 views
Match directive breaks SSH
On my Ubunut server 12.04 LTS machine, I try to add a user with only sFTP or FTP access.
Let's call him 'Jim' for now. Jim only needs access to a directory /var/www/example.com.
So far I've tried ...
0
votes
1answer
25 views
Remote Play Movies/Music
I have a basic understanding of using SSH, as in that it allows you to access files on a remote server from a local client, to run on the remote server.
However, what I am trying to achieve is a way ...
0
votes
1answer
11 views
Install netbeans from a local computer to a remote workstation
I've downloaded the netbans.sh file from its official website and I'd like to install it to some workstations without having to copy it in any of those workstations.
Can I remotely ssh connect and ...
0
votes
1answer
20 views
Java doesnt work if used from gnome
When I try to install something( which uses InstallAnywhere) from terminal in gnome I got something like that:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the ...
0
votes
1answer
179 views
Nautilus' remote folder default mount point
I connect a remote folder in Nautilus (file info says that it is done via sftp), and within it the folder becomes fully browseable.
But I can't access it from the other applications: I couldn't find ...
0
votes
1answer
108 views
Samba: how can I access a share on a Virtualbox guest (in NAT mode)
My OS: Windows 8
Virtualbox guest: Ubuntu 12.10 server
I configured apache server on vbox guest and mapped http, https, ssh port successfully into ubuntu server. It works nice without any problem.
...
0
votes
1answer
55 views
Drive Permissions Denied over SSH?
I am having issued with drive permissions on Ubuntu 12.10.
The server to which I'm connecting over ssh has two HDDs. Ubuntu runs off 'Drive 1', and the server app runs 'Drive 2'.
When I formatted ...
0
votes
1answer
76 views
juju local error ERROR could not connect before timeout
juju -v status:
2013-04-07 18:11:20,888 DEBUG Initializing juju status runtime
2013-04-07 18:11:20,902:3553(0x7f739cef7700):ZOO_INFO@log_env@658: Client environment:zookeeper.version=zookeeper C ...
0
votes
1answer
206 views
Copy files from a server via ssh to dropbox.
I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first ...
0
votes
1answer
57 views
SSH terminal resizing not working - rackspace cloud server
It appears that rackspace cloud ubuntu servers that you ssh into do not auto resize the column count when you use gnome-terminal. They are fixed at whatever size you connect at. However, you do not ...
0
votes
1answer
43 views
Need help troubleshooting Apache inside VM
I'm hitting a wall troubleshooting this. I feel the problem is either due to my lack of networking skills, or a basic knowledge of configuring Apache. I'm hoping I can shed some light on my setup by ...
0
votes
1answer
168 views
how to use expect with bash
I Have created a shell script as given below.This script will login to a remote server as a normal user then switch to root user for creating a directory.The script is as given below.
ssh -t ...
0
votes
1answer
183 views
Ubuntu Desktop with GUI and SSH access
I used to have Ubuntu Server 12.10, and I used to connect to it with my Windows PC using SSH. All I had to do was turn my server computer on and next thing I could do was run my PuTTY and connect to ...
0
votes
1answer
55 views
Used SSH to establish internal connection to another virtual machine; now I can't change it back
I logged onto my server from a remote computer via SSH using its hostname server.domain.com. The Samba server's IP is 192.168.5.33.
I then used the ssh command to connect with the local FTP server ...
0
votes
1answer
97 views
How do I get sound back after connecting with x2go without rebooting?
When I connect remotely over NX using x2go, for some reason, I get a pop-up on the server asking if I want to permanently forget the sound devices that have just been removed:
The devices are not ...
0
votes
1answer
175 views
How to get my ssh passphrase remembered during a Ubuntu session?
If I open a gnome terminal and connect to a server through SSH, I am asked for my passphrase by a text prompt in my terminal instead of a GUI, and, worse, this passphrase is not stored in memory for ...
0
votes
1answer
180 views
Unable to ssh with error Connection Refused
I seem to be running into a problem when attempting to ssh. Here is my scenario;
Host A - 192.168.1.6
Host B - 192.168.5.10
From Host B, I am unable to ssh to Host A, as I get the error
"ssh: ...
0
votes
1answer
36 views
I can not log into another Linux machine
I can not log into another Linux box and I have tried using this form ssh my-user-name@my-server-ip but it returns the error after 3 tries to permission denied (publickey,password)
0
votes
1answer
393 views
SSH Commandline - Ubuntu x64 dedicated server raid-0 array creation LOG [ After reboot : Disk /dev/md127 doesn't contain a valid partition table ]
I followed this tutorial but failed as it seems, i tried for a couple times, here i throw the towel:
ht-tp://www.rustyrazorblade.com/2012/07/setting-up-raid0-in-ubuntu-12-04-in-aws-high-io/
...
0
votes
1answer
108 views
Setting up putty key
really hope you can help me here, i have a 12.04 server and a linux pc at home which i set up ssh keygen for with no problems, i want to now gain laptop entry to the server [win7] using putty, i have ...
0
votes
1answer
87 views
how to mantain an “scp session” open?
I massively use scp and ssh for work. I'm a little bored to insert the password everytime Usually I scp many files from term and I was wondering if there is a way to mantain open the scp connection. I ...
0
votes
1answer
223 views
What is the best way to bypass China firewall to allow SSH deploy@**.com
I am trying to bypass the china firewall and allow SSH deploy@**.com at the command console. This is because I need to test the games I wrote on apps.facebook.com/**. I tried VPN (both pptp and ...
0
votes
1answer
163 views
Trying connect by SSH and get “access denied” by localtunnel
Hey I installed localtunnel - http://progrium.com/localtunnel/ and I tried connect from my laptop using putty(I even unckecked attempt gssapi authentication) and I receive
login as: hsf
...
0
votes
1answer
118 views
ssh multiple clients
Hi I am new to ssh server but I have successfully been running it on other Ubuntu 12.04 computers.
The latest computer I set up with openssh-server only seems to allow one shared connection between ...
0
votes
1answer
668 views
Can't ssh into my ubuntu vps
I have a vps running Ubuntu 12.04 LTS and I have installed openSSH but I can't connect to it with putty. I get error saying Network error:Connection timed out. How to fix this?
0
votes
1answer
496 views
AutoSSH for a robust tunnel
I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...
0
votes
1answer
115 views
How to create a VNC server such that each user can have access using its own user/password combination
I would like to know which software of what is the procedure to create a VNC server such that each user can have access using its own user/password combination ?
0
votes
1answer
458 views
“PTY allocation request failed” error when trying to connect using SSH
I'm trying to log into Ubuntu desktop. I get the following error message:
PTY allocation request failed
What does it mean and how to connect to my desktop?
This is the output with -v:
debug1: ...
0
votes
1answer
131 views
Is there any mechanism that blocks connections by IP address in a default 11.04 installation?
On a default installation of 11.04 desktop (running inside a VM), I'm getting a strange phenomena in which occasionally some people can't ssh into their account in the regular way (they simply get a ...
0
votes
1answer
404 views
Connecting to SSH/RDP/VNC through one machine?
I am asked to come up with a solution for connection to ssh, vnc and rdp services in company firewall/proxy via one box on DMZ.
The task is to get users to connect to this one box and then to the ...
0
votes
1answer
1k views
Operation times out trying to SSH outside LAN i.e. from internet to LAN no connection is established
I run Ubuntu 12.04 and have no success connecting with SSH from "Internet". The router is a TL-MR3420 which is set up to forward requests to one of the NIC's on ubuntu machine (which has in total 3 ...
0
votes
1answer
241 views
How to programmatically log-in a user remotely
How do I programmatically and remotely (using SSH) log-in a user so that the lightdm login screen closes and loads the user's desktop as thought they had physical typed in their username and password?
...
-1
votes
1answer
28 views
I am not able to access the remote Network Drive now what to do?
I am not able to access the remote desktop initially but then i used remmina remote desktop client, on accessing through it and while logging on to the server the following dialogue occurs
"the ...
-1
votes
1answer
1k views
How to install software raid 0 on ubuntu 12.04 server with mdadm?
I need to install a software raid-0 array on a Ubuntu 12.04 server with
mdadm through commandline (SSH).
The drive setup is as follows:
SDA = OS SSD
SDB = HDD for raid 0
SDC = HDD for raid ...

