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

learn more… | top users | synonyms (1)

0
votes
0answers
70 views

Sickbeard start service on boot not working: Permissions issue? [duplicate]

I've just installed Sick-Beard on my server. Starting the service via SSH works just fine, as I issue the command sudo service sickbeard start However, I can't get the service to start on boot. ...
1
vote
0answers
96 views

Unable to reach server by SSH

In a state of "only 10 more minutes left until the weekend" I did an apt-get upgrade last Friday to ignorantly fix the reported shellshock error. The upgrade seemingly went fine and I logged of the ...
0
votes
1answer
1k views

How to set up ssh on a lubuntu vm (VirtualBox) and windows host

I've set up a Lubuntu vm using VirtualBox on my Windows 8 desktop and I want to connect my laptop, which is dual-booted with Windows 8 and Ubuntu, to the Lubuntu vm via SSH. I've gotten as far as ...
1
vote
1answer
731 views

do-release-upgrade via ssh

I am using Ubuntu on a vps via ssh. I run do-release-upgrade try to update from 12.04 to 12.10. The update seems to be successful. But after restarting, I can not login via ssh( bad file number 22) . ...
2
votes
2answers
313 views

CVE-2014-6271 over ssh example attack?

I've been reading about the CVE-2014-6271 bug on lots of pages, but I'm still not able to understand how exactly is it possible to exploit it over ssh. From all I've read, I couldn't find an example ...
2
votes
0answers
398 views

Using SFTP with SSH ForceCommand directive

I have set up an SSH server (call it group2.fqdn) with this ForceCommand directive: Match Group group1 ForceCommand ssh -t group1.fqdn Match Group="*,!local,!group2,!root" ForceCommand ...
4
votes
1answer
8k views

How to access a git repository using SSH?

I have the public key. I think this is needed for the SSH connection to the server where the git repo is located. Now I don't know how to get the code. Can someone please tell me the complete ...
1
vote
1answer
133 views

Prevent SSH from logging out after running initial commands

I'm using ssh to connect to a remote Linux machine like this: ssh -i .ssh/path/to/id_rsa -p 22 user@host 'cd /path/to/dir' I'd like some commands to be executed upfront (such as cd /path/to/dir) ...
1
vote
0answers
163 views

Why is my SSH session so slow when Dropbox is uploading?

When Dropbox is uploading, my SSH session to a remote server (a DigitalOcean droplet) is extremely slow. By slow, I mean the latency is very high: I type a word and it appears in the terminal 5+ ...
10
votes
4answers
2k views

Identify the server I'm working at

How to identify which server you're on when using ssh from terminal? I have to ssh into 30 servers daily, and switch between them constantly. Currently I'm editing the tab name and writing the IP ...
2
votes
1answer
2k views

remotely log out of (graphical) gnome session

I have a (graphical) login session running on an office computer, and I'd like to log it out to save on a few computer resources. I can ssh to the office box, but when I try gnome-session-quit I get ...
3
votes
5answers
713 views

Cannot delete Directory, doesn't exist?

Somehow this folder got created when i was logged in via sftp. "Sep 19 18:50 " I tried to delete it via sftp. Tried to SSH in and delete with rm -rf as root Error: rm ...
1
vote
1answer
1k views

How to lock down SFTP user?

I really need some help, I have been trying to jail a user using ubuntu. Thing to note: james is the user sshusers is the group /home/james/upload/ is the directory where I wish to lock user ...
2
votes
1answer
383 views

Ubuntu 14.04 - SSH connection - Open Image

What I'm using Ubuntu 14.04 SSH connection to another Ubuntu 14.04 machine What I'm trying to do View/Display the content of an image (.png, .jpeg, .bmp...) from the console. I'm connecting to ...
1
vote
2answers
653 views

Error bootstrapping juju environment maas, crypto/rsa: verification error

I bootstrapped the juju environment for maas. It was working fine but, my bootstrapped node formatted due to network boot. I then removed juju and deleted the environments directory and reinstalled ...
-1
votes
1answer
284 views

Get visual output over ssh

I have a remote ubuntu 14 installation and I am running apache solar and apache nutch on it. At the moment I am connecting over windows 7, with putty to my server. Apache Solr has a if you open on the ...
2
votes
0answers
220 views

Understanding ssh - apparent IP address: dynamic vs local port forwarding

I have ddwrt on my router back home and I'm playing with ssh on my laptop from a remote location to better understand ssh. My router has port 5000 listening for incoming ssh which it port forwards to ...
0
votes
1answer
766 views

Ubuntu 14.04 - BUG? SSH login failing [duplicate]

Ubuntu 14.04 - installed apt-get install openssh-server, username is sun and password is 1234 and root also has password 1234. Remotely connecting and failing to allow me. suns-MacBook-Air:js sun$ ...
0
votes
1answer
239 views

Control + D not working in mail

I am trying to test the mail capabilities of my server. I simply do this mail -s "This is a test" myemail@domain.com, then it prompts me for Cc: then the body. After typing into the body I am hitting ...
0
votes
2answers
94 views

Unable to perform root login

When I try to ssh into my friends computer in the same LAN with his host-name and IP I am able to login successfully. But when I try to login using the root user password it shows me the following ...
0
votes
1answer
68 views

Is it possible to log into a remote LAN user using the ssh client without using his password?

I am on a LAN network having around 50 systems using ubuntu. I know the root user password used by most of the systems. If i know the root user password of a system, is it possible to ssh into that ...
0
votes
1answer
8k views

“Error: cannot open display: :0.0” while starting remotelly Firefox

On my ubuntu 14.04 remote server, when I try to start Mozilla Firefox 32.0 from terminal, it through error as follow: $ firefox (process:6397): GLib-CRITICAL **: g_slice_set_config: assertion ...
7
votes
1answer
674 views

How to automatically opening terminal windows & tabs, ssh and sudo su?

When I start my day in front of my computer, I first have to do the following: In workspace 1: Open a new terminal window, ssh loginserver, then ssh serverA1 and sudo su account00 Open a new ...
0
votes
1answer
279 views

Preview .html file from remote AWS EC2 instance on local machine's browser

From this and this I've gathered that I should ssh into my ec2 instance from my Mac by: ssh -C -c blowfish -X -i user.pem user@hostname.com This accomplishes X11 forwarding. Afterwards, how do ...
0
votes
2answers
204 views

Restart process and direct it to right display via ssh

I am using XBMC as the primary media player in my home, and it is great. The one problem I have is that it sometimes -- not often, but sometimes -- crashes or freezes up. For me, that is no problem, ...
1
vote
1answer
555 views

How to run Mathematica on remote server

I am using Ubuntu 14.04 and have connected to a remote server using SSH. I would like to run Mathematica 8 which is installed on the server. When I type mathematica in the terminal, it says Can't open ...
1
vote
1answer
340 views

What happens when I try to run firefox on a remote server from my local machine

I am connecting to a remote server through putty. whereis firefox shows that Firefox is installed on the remote machine. Now, I want to know what is going to happen when I run firefox. Normally, if ...
1
vote
0answers
152 views

Passwordless ssh not working?

I set up passwordless ssh between my Ubuntu 14.04 desktop laptop and my server running Ubuntu Server 14.04. It was all working. Then, I rebooted my server, and after that it stopped working. I tried ...
7
votes
1answer
789 views

Prevent machine from sleeping when SSH connections are on

I am trying to save power by switching desktops to suspend mode when they are inactive. But many desktops are also accessed via SSH by their owners. There is a wakeonlan solution deployed to enable ...
3
votes
1answer
112 views

Which script actually does automatic suspend of machine?

Which particular script is activated upon inactivity of the system? How does the script know that system has been inactive for the configured duration? I need the script, so that I can check if ...
8
votes
3answers
10k views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
1
vote
0answers
30 views

Is it possible to forward Windows… windows into Linux? (Like unity/seamless or xypher)

If this is a "bad question" or otherwise something you mods want to close... please at least direct me somewhere that could answer it, because that kind of thing happens to me a lot and I end up ...
1
vote
0answers
180 views

Ubuntu 12.04: pam_motd sometimes displays only partial MOTD

This isn't a very big deal but it really irritates me somehow. We have a large number of machines running Ubuntu 12.04 (server/amd64) which i frequently ssh into. We have the standard set-up for this ...
1
vote
0answers
1k views

SSH into Ubuntu server (14.04.1) Using mac terminal (os version 10.9.4)?

I am having difficulty connecting remotely to the ubuntu server from the mac terminal. So far I have run: sudo apt-get install openssh-server when I try to connect via the ip address I get an ...
0
votes
1answer
794 views

Script that ssh to remote host enters pass and executes a command?

Is it possible to make a script that ssh to remote host, enters the passwords to log-in and then executes at least 1 command on the remote machine?
1
vote
1answer
91 views

Problem connecting to ssh server that is behind another ssh server in nautilus

So I have this school server that I am trying to connect to via nautilus. In terminal it's all easy but I want to be able to open it also in nautilus. In terminal my way of doing it looks like this: ...
3
votes
1answer
133 views

How to configure SSH username and pass on Ubuntu server 14.04.1

I am trying to remotely administer my server using SSH. I believe SSH comes installed default, I just need to know how to configure username and password.
0
votes
1answer
614 views

Accessing Ubuntu-based VPS from my Ubuntu 14.04 LTS PC

I just installed Ubuntu 14.04 on my PC alongside Windows 8.1. My problem is, I want to connect to my Ubuntu VPS using my Ubuntu PC but it's not working. I tried ssh root@vps-ip-add but nothing ...
0
votes
1answer
299 views

MOTD displaying content of /etc/motd generated at boot / previous login

I have an Ubuntu server running at sandbox.plushu.org - if you add your key at http://enter.sandbox.plushu.org, you can connect to the server as root@sandbox.plushu.org. You can reset the server by ...
1
vote
2answers
5k views

sshd daemon not running ubuntu 12.04

The sshd daemon is not running on my machine (Ubuntu 12.04). I have repeatedly re-installed the openssh server and rebooted. I get no output to this command: ps -A | grep sshd Any help would be ...
0
votes
1answer
191 views

SSH Connexion configuration

I'm managing a several servers which are in Linux. I will have others administrators who will need access to those servers in order to administrate them. So I would like to have a sort of ssh bastion ...
0
votes
1answer
159 views

OpenSSH: hacked before set up?

Today I tried setting up OpenSSH on my computer with the hope of being able to connect to it from a different computer at work. This was my first time attempting to use open-ssh. I did the following ...
1
vote
2answers
314 views

How can I prevent being locked out after changing the iptables default policy?

I am working on a experiment when I (client) ssh a gateway and run sudo iptables --policy INPUT DROPthen the gateway doesn't accept any communucation(or input) from my client. By running sudo iptables ...
5
votes
1answer
403 views

Way of receiving alerts on login attempts, whether successful or not?

I believe my linux machine to be reasonably protected from external login. But since I am mildy paranoid, I would like to be alerted when there is a login attempt made to the server, whether ...
0
votes
1answer
320 views

“su” or “whoami” not working

I am connected to an Ubuntu 14 via ssh with user "nuri". I am trying to change the user with "su" command and no success. Below i enter the password for deneme2 correctly and check whoami. Afterwards ...
2
votes
2answers
1k views

Is it possible to launch an application on a remote pc using the terminal?

I found myself away from my computer needing to do some quick work that required my accessing my desktop remotely. I normally use teamviewer, but I don't have it load on boot. I can launch it from the ...
5
votes
1answer
928 views

How to share WiFi/hotspot over SSH tunnel

I have created a SSH tunnel on my laptop connected to LAN. I want to share the internet via WiFi/hotspot, but over the SSH tunnel. I mean any computer using this wireless should connect to the ...
3
votes
1answer
566 views

Unable to write to /var/log/btmp

I recently had a bunch of entries in my btmp log [because of a boneheaded move on my part] I resolved the issue, but now I would like to clear that log, I copied it somewhere else for reference and ...
7
votes
2answers
577 views

How to prevent Ubuntu Server sleep/hibernation

I'm running the latest Ubuntu Server (quite literally downloaded & installed yesterday) on a box under my desk. I've got trac installed and OpenSSH. Intermittently both become unavailable, as if ...
0
votes
1answer
654 views

ssh command related problem

I am facing problem with the ssh command currently. Earlier, it was working just fine, but now when I am trying to execute the same command, it says, ssh_exchange_identification: read: Connection ...