SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

learn more… | top users | synonyms (1)

0
votes
4answers
3k views

Problem with default shell and home directory

I have recently been granted access to a machine at work. However, I have been having trouble setting up my development environment. Relevant information about the machine: $ uname -a Linux ...
3
votes
1answer
4k views

How to start a new Xsession for SSH forwarding?

I want to forward an Xsession over ssh to another system, but I get this error: Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-...
6
votes
3answers
5k views

Cannot use gedit on multiple remote machines using ssh

After setting up the last of my 5 remote machines, I decided to test that the network was working well by connecting to each and opening gedit. To my dismay, when I tried to open gedit on the second ...
3
votes
2answers
662 views

juju cant ssh service units

I have deployed Ceph with Juju. I am trying to ssh in with the following command: sam@maas01:~$ sudo juju ssh ceph/0 Permission denied (publickey,password). error: exit status 255 I have my public ...
0
votes
1answer
179 views

ssh loing to a machine timed out

I'm trying to ssh to a machine, but it hangs and gets timed out. $ ssh root@<ip address> -v OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh/...
2
votes
1answer
625 views

how to download a link in links using axel/curl?

shortly, how can I make lynx/links use axel/curl for downloading files that i want to store in my hard-disk?? Longley: I'm a server-manager and always used my ubuntu system and putty so i could copy/...
2
votes
3answers
673 views

SSH and SCP help

I'm a university student, and very new to ssh and scp... and new to programming. The newest assignment given to us requires accessing libraries that are only on the student server at university. To ...
1
vote
1answer
1k views

Cannot ssh with publickey into Ubuntu 13.04 cloud instance

I'm running Ubuntu 13.04 in an OpenStack instance. When I created the instance, I specified a keypair, and I may ssh into the box with the command: [laptop]$ ssh -i keypair.pem ubuntu@my-instance ...
0
votes
1answer
490 views

SSH to Ubuntu machine doesn't work when I get out of home

When I tried to connect to Ubuntu 13.04 from OS X via SSH in home, I can successfully connect to it. But I just got to know that when I tried to connect while I'm out of home, then I got the following ...
18
votes
4answers
36k views

Open another terminal window with the same SSH session as original window

Is there a way to open a terminal window ( or tab ) with another instance of an open SSH session ? EDIT: I have a terminal window with a remote ssh session into a server. I want to open a new tab ...
1
vote
1answer
815 views

Transfer a file from remote server to remote server

I am trying to transfer a file from Site5 to Godaddy web hosting account. The godaddy webhosting account is the one that comes free with the domain, so no ssh acccess. sudo scp -v @:/home//...
1
vote
1answer
1k views

How to setup two virtual machines to connect via openssh?

I have host computer mac running two Ubuntu as guest machines. I would like to set up ssh connection between these two virtual machines. Both guest machines are equipped with open-ssh server/client. ...
0
votes
1answer
1k views

error: environment has no access-key or secret-key

I just installed a juju enviornment, which required me to make this ssh-key prerequisite for later on, ssh-keygen -t rsa -b 2048 But I think I made a fatal error by leaving the file to save the ...
3
votes
0answers
434 views

Samba, PAM and encrypted home directory

So, I have an encrypted home, PAM usually unwraps the passphrase via /etc/pam.d/common-auth and /etc/pam.d/common-session-noninteractive. This works fine for SSHD sessions, however when I open up a ...
0
votes
1answer
2k views

How to disable SSH Access & SFTP access but keep ftp access?

I don't know that much yet about servers so I am stuck right now, but I was wondering if its possible to disable SSH access & SFTP for a certain user but allow the ability to use FTP access and ...
1
vote
1answer
384 views

rngd does not run when started remotely

I am trying to increase the entropy of several Ubuntu 13.04 ec2 instances by running ssh -n -o StrictHostKeyChecking=no -i ... user@host "sudo rngd -r /dev/urandom -o /dev/random -t 10" from a ...
3
votes
2answers
2k views

How can I use grep to view only part of BFGMiner which is being run in screen over ssh?

Okay, bear with me on this. I'm using a program called BFGminer, which hopefully you know is a bitcoin mining program. Anyway. It updates every second a few lines that look like this: DEVICE 0: xxxx ...
-1
votes
1answer
24 views

about ubuntu desktop12 ssh

In Ubuntu, ssh server is ok. At ps -e | grep ssh has hdserver. But can't connect ssh from Windows. Wrong info with "time out connect". The server is in the same LAN. In Ubuntu, I use ssh name@ip ...
16
votes
3answers
103k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
1
vote
1answer
291 views

How to reboot ubuntu server machine from outside

I am at the office right now and my ubuntu server is at home. I was connected to my server few minutes ago when I got this message : "ssh: connect to host port 22: No route to host" Maybe this is a ...
3
votes
1answer
282 views

Sharing SSH keys during a Juju Charm deployment

I have a Juju Charm for specific cluster service. In manual deployments, the password-less SSH access for the cluster administrator is enabled between the control-system nodes and the other nodes in ...
3
votes
4answers
8k views

SSH into a guest VM

I have a CentOS as a guest VM. My host machine is 13.04. The CentOS can see the web but I cannot ssh into that VM. My guest machine is CentOS 6.4 running in VirtualBox. From the VM window, I can ...
1
vote
0answers
2k views

Force lease renew for leases in /var/lib/misc/dnsmasq.leases

I have a Raspberry Pi connected to my laptop (running 13.04 with Gnome) via direct ethernet using these instructions. Normally, the RPi will connect and work just fine. However, if I disconnect the ...
1
vote
1answer
744 views

Wake on demand (WOD, WOL)

I like to have my homeserver (running Ubuntu) automatically powered on when I am connecting via SSH from the internet. I successfully configured the server to listen for Wake On LAN (WOL) magic ...
2
votes
1answer
2k views

Script for initiating ssh connection for port forwarding, and then execute vnc viewer on client's computer

I would like to write a script that gets as an argument a local computer ip (on the network of the ssh server), and forwards port 5900 on the client's computer to that ip:5900 on the server network. ...
1
vote
1answer
86 views

SSH Keys on multiple operating systems

I have a Ubuntu Server 13.04 and I currently use password only SSH login. After seeing how many attempts were made to maliciously login to SSH I need to switch to key based authentication. I have ...
1
vote
1answer
1k views

PHP, ssh2_exec is not working properly

I have a shell script makedir.sh as given below. sudo -H sh -c ' mkdir /usr/local/testdir; if [ $? -eq 0 ];then echo "Successfull"; else echo "Unsuccessfull"; fi ' I ...
2
votes
0answers
654 views

ssh-agent running but not working when logged in using PuTTY

When I am using the terminal directly on the machine running Ubuntu 13.04 ssh-add works fine using the process: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch gnome-...
1
vote
0answers
153 views

Ubuntu server 13.04 ssh keygen issue

I want to be able to use github and their service hooks to deploy sites and apps to the server. To do this I need to create an ssh key and put the public key into github. I go through the ssh-...
2
votes
0answers
469 views

Server in LAN with two network cards, can't telnet / ping to the second even if it works

I have an issue with an Ubuntu 12.04 LTS (updated) server. For reasons too long to detail, it has got one eth0 interface assigned to 192.168.1.9 and one wlan0 interface assigned to 192.168.1.10. Both ...
3
votes
1answer
433 views

Setting up catch-all with iptables

I'm trying to setup a iptables which only allows traffic in via ssh and a catch all that blocks everything else coming into computer. The iptables -L output looks like this Chain INPUT (policy ...
9
votes
3answers
7k views

Cannot ssh into new Vagrant install of 13.04

I used the Vagrant image for 13.04 from http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box to create a new virtual machine and tried to connect to it ...
4
votes
1answer
340 views

2 sshd configurations 1 for internal and 1 external

How can I setup open ssh server so that if i'm ssh'ng from a local lan I want it to be via port 22 but if I'm coming externally its via port 12345 for example. Then for external access I'd like some ...
0
votes
1answer
472 views

chroot sftp not able to login

I am trying to set up sftp access on my server and chroot the users into a samba share. When I edit /etc/ssh/sshd_config and add Match Group sftpusers ChrootDirectory /srv/samba/share ForceCommand ...
7
votes
2answers
11k views

gsettings not working over ssh [duplicate]

I'm trying to change Unity Launcher icons on a remote computer with command: gsettings set com.canonical.Unity.Launcher favorites ... and it works perfectly But when I do ssh 127.0.0.1 gsettings ...
0
votes
1answer
180 views

How can I make it so when I ssh myself my system info shows up when I log in?

I have a vds and when I log in my system info shows up and I'm wondering how I can do this with my desktop that's running 12.04 LTS because I love the feature. Here is a picture that shows the ...
1
vote
2answers
3k views

edit text file with sudo via ssh and script

I want to modify /etc/hosts (and later also hostname) via a script and ssh. So I'm logged in via ssh and this works: sudo nano /etc/hosts It shows the remote hosts file in nano. However I was ...
3
votes
1answer
1k views

Why are my LDAP logins slow?

I have been running this server with LDAP for about 6 months. The logins have always been fast. However, starting this week logins are taking 1-2 minutes to complete. This include ssh, sudo su, and ...
0
votes
1answer
740 views

inotify in a remote shell and get the output back

My problem is very similar this one: inotify not fast enough Except I am running inotify in a remote shell. I need to monitor for file change on machineA from machineB. machineB has ssh access to ...
2
votes
2answers
2k views

How can I automatically log into a fully encrypted Ubuntu system without a password prompt?

I've recently installed Ubuntu with a full disk encryption which means I have to enter a password at boot to get the system up and running. This is excellent and exactly what I want for the future. ...
0
votes
1answer
1k views

Upload to localhost with ssh, locked account

I can access the files on localhost in my FTP programme, but the account is locked, so while I can see them and view localhost in my browser, I can not edit, download or upload any files. I setup ssh ...
1
vote
1answer
377 views

sshplus config file

I just recently lost my old hdd and put a new one in my machine and have been getting back to where I was before this whole mess and now I can't seem to find clear instructions on how to make a config ...
1
vote
2answers
537 views

stopped ssh, need way to connect again

i rented a virtual machine with ubuntu server. I logged in via the ssh-command in the terminal from my ubuntu home pc. Before i exited, i accidentally typed "stop ssh" in the terminal, because i ...
0
votes
2answers
1k views

Email Alert on SSH and SFTP Connection

Looked through other questions about email alerts on login but have 2 questions: Can the alert be triggered by users connecting via SFTP as well? (I tried this before and it only triggered an email ...
1
vote
1answer
3k views

Difference between transmission-daemon and service transmission-daemon

I made this question so as to make myself clear some things about linux, since I'm relatively new. I have and Ubuntu Server machine, which I access via ssh. I want to use it to handle my torrents from ...
1
vote
1answer
858 views

SSH—Can't reach iphone root folder

When using Nautilus Connect to Server to connect with an iPhone over SSH, it takes me to a location that just has the Media and Library folders. Their location is sftp://192.168.x.x/private/var/root/...
0
votes
3answers
836 views

How to use open ssh key?

I got a ssh key in ppk format. I found some manual to convert it to an open ssh key. Now I just want to connect to the server using this key. The manuals I find are all about creating one. Do I have ...
1
vote
1answer
977 views

SSH into shell, get 'Error: Can't open display: (null)'

I don't want to open an X11 Session or what not, just to open up a shell to a PC. I type in Terminal: ssh -p 1337 localhost After entering my password, I get the banner, last login, and then the ...
9
votes
1answer
5k views

SSH to Server, Execute Command, and Maintain Connection

I want to write a script that opens a terminal with different tabs, logon to a server using ssh in each tab and execute a command in each tab. For example: htop. The below script opens a terminal ...
3
votes
2answers
4k views

How to undo an ssh-copy-id?

I have a 2 node hadoop cluster. I ran this command on the master: $ssh-copy-id -i /home/hadoop/.ssh/id_rsa.pub hadoop@192.168.1.1 How can I undo this? I would actually like to reassign the key. ...