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

learn more… | top users | synonyms (1)

3
votes
2answers
30 views

system log question- auth.log

I'm pretty new here. I was looking at my system logs and noticed this: Jul 21 00:57:47 htpc sshd[13001]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= ...
1
vote
1answer
35 views

The simplest way to implement a VPN?

I have a headless machine running Lubuntu that I'm using a file server. I already SSH into it, and use remote desktop from within my local network to do any maintenance I need, either on the desktop ...
14
votes
1answer
12k views

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. ...
1
vote
0answers
24 views

Playing Rhythmbox through SSH

I am trying to start Rhythmbox by remotely accessing my Ubuntu 15.04 machine through SSH. Problem is when i create a new instance of Rhythmbox and play it, it works fine. Here is how i am doing it. ...
1
vote
2answers
62 views

How do I restrict a specified SSH user to connect only from one IP or hostname?

I have a monitoring server that requires the SSH connection details of a non-sudo user account of each box it monitors. Is there a way that I can configure a specific user account such that it can ...
0
votes
1answer
29 views

Virtualbox Ubuntu issues running programs in secure shell

Hello I am new to Ubuntu and Virtual machines. I am running windows 8.1 with a VM running XUbuntu. I am able to secure shell into my work computer (RedHat)through the VM, but when I try to run a ...
1
vote
1answer
43 views

Permission denied for *.pem file

I have *.pem and *.ppk file for my server I tried to ssh into it using that. But it showed permission Denied. I took verbose log for that. But I am not able to understand why it said permission ...
51
votes
3answers
112k views

How can I chroot sftp-only SSH users into their homes?

I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see. I've created a user called bob ...
4
votes
1answer
472 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
391 views

Could not load host key: /etc/ssh/ssh_host_ed25519_key in /var/log/auth.log

I have an Ubuntu 14.04 instance running on AWS. I was browsing the auth logs (/var/log/auth.log*), and noticed the following line appearing: Could not load host key: /etc/ssh/ssh_host_ed25519_key ...
0
votes
1answer
59 views

Cannot open local files using Gedit over SSH

I tried to start gedit on one of my servers by running: `ssh test@test-server gedit and it runs, but it displays the filesystem of my server and not my local system. How can I get gedit to show my ...
0
votes
1answer
39 views

x11vnc - How can I allow only certain users to have a VNC session

On my server, all but port 22 (ssh) are closed. VNC is possible, but only with a VNC-over-ssh method. Right now x11vnc is started -forever at boot. With the right ssh tunnel, anybody can initiate a ...
36
votes
7answers
215k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
0
votes
0answers
67 views

EC2 - chmod: cannot access ‘mypemfile.pem’: No such file or directory

I download pem file while launching t2.small instance. When I try to connect it via ssh it say no such a file in directory. But am sure that pem file is in directory. $ ls mypemfile.pem ...
0
votes
1answer
37 views

How do I set up an encrypted SSH tunnel for VNC?

Here's whats happening: The TightVNC client on my Windows client does not interact with my Vino VNC server, because of some encryption stuff, as shown here: Gnome 3.10 sharing desktop --- how to ...
2
votes
1answer
193 views

Trying to understand my first server set up

I am trying to set up my first server and stack. I spent a week trying to do it on a virtual machine but could never get the ports to forward correctly so today I just dedicated the full machine. I ...
1
vote
0answers
47 views

chromium browser remotely launched error

I logged into a remote server using the -X option in the ssh command. After trying to open the chromium browser i get the following error: $ chromium-browser Gtk-Message: Failed to load ...
0
votes
1answer
33 views

evince running remotely critical error

I logged into a remote server using the -X option in the ssh command. After trying to open a pdf file with evince i get the following error: ** (evince:4568): CRITICAL **: ...
0
votes
0answers
47 views

ssh stalls at debug1: SSH2_MSG_KEXINIT sent

So I try 'ssh -v server' and it stalls at: debug1: SSH2_MSG_KEXINIT sent which seems to be because the destination is not accepting my connection? I can ping the server though! (I do $ping host_ip) ...
0
votes
1answer
30 views

Hostname of machine changed unexpectedly to mongodb after reboot

I have mongodb 3.0.4 installed on my Ubuntu 14.04 machine, and after I did a reboot I noticed that the hostname changed to mongodb. Indeed I see myuser@mongodb instead of myuser@myhostname as it was ...
0
votes
1answer
89 views

Started tightvncserver on Ubuntu, but viewer complains about missing .xsession file

I've never used VNC before, although I used X11 about 25 years ago. I'm trying to set up a VNC connection between my Windows laptop and a box I ssh to from an external gateway. From my Win7 laptop, ...
1
vote
1answer
31 views

SSH connects with old hostname

I changed my hostname on my Ubuntu (12.04) computer but my CentOS computer still connects to it using the old hostname. How can I make it so that I can type: ssh new_hostname instead of : ssh ...
1
vote
1answer
761 views

Crashplan on headless Ubuntu 14.04 - remote GUI not working

I'm having issues getting Crashplan remote GUI working correctly on my headless Ubuntu 14.04 servers. This is what I've tried so far; Followed this guide to produce a SSH tunnel - ...
0
votes
0answers
15 views

Workstation Desktop Shortcut Icon to a Windows document server

I am New to Ubuntu. I've searched all kinds of FAQ's and Forums, but have yet to obtain a simple answer to these questions. Probably a typical situation for a new Linux User. Here are my ...
3
votes
6answers
116 views

Is an Ubuntu server the best option for me? [closed]

I am currently tasked with the process of creating a file server for a small business I work at. My boss is keen on the fact that we can create an Ubuntu server for free and has put the task to me. I ...
1
vote
2answers
357 views

Ubuntu Server 15.04 how to login using ssh?

After installation, I tried to login from a remote computer using ssh. It asks for the password but it does not allow the server password as valid. What is the default configuration for ssh in Ubuntu ...
34
votes
5answers
206k views

How to enable ssh root access on Ubuntu 14.04

I´d like to enable the ssh root access on Ubuntu 14.04. Editing the /etc/ssh_config (PermitRootLogin yes) didn't affect anything.
0
votes
2answers
182 views

How to authenticate myself as root over rsync+ssh into a remote server?

I am trying to use the rsync command but I am getting "permission denied" because the pi user hasn't permission to write without the sudo command I am trying to move my apache2 folder from 10.0.2.2 ...
1
vote
0answers
39 views

Reverse DNS Lookup on ubuntu inside virtualbox

I'm using Ubuntu 12.04 inside virtualbox on win7 using NAT for networking. I had to run the command : VBoxManage.exe modifyvm "Ubuntu" --natdnshostresolver1 on Which basically tells the guest to ...
-1
votes
1answer
53 views

Could not resolve hostname 123.45.67.890 [closed]

Could not resolve hostname 123.45.67.890: Name or service not known I'm trying to setup my server and straight away I get this error, following this guide:
0
votes
0answers
36 views

ssh connection: trigger event/invoke shell script at predefines intervals

On the server side I am trying to achieve something like : after x hours of a user being logged in via ssh I would like to execute a shell script. And I want this time to be configurable per user ...
1
vote
1answer
38 views

MAAS bootstrap ssh port 22: Connection refused

I am trying to bootstrap my first node but I am receiving: ssh: connect to host 192.168.30.41 port 22: Connection refused I configured an ssh key in MAAS preferences and I also tried the following ...
0
votes
0answers
32 views

How to prevent ssh on local host?

I came to know that on ubuntu, sudo and su is not available in a guest session because of security concerns. But all I need to do, if I have the login credentials of a user in the sudoers list is too ...
0
votes
0answers
41 views

Connect to ubuntu from windows 7

I read lot of blogs and SO questions. xming VNC I found these two things to achieve my requirement. xming opens everything via commands in the putty. Is there any other way to install a software ...
0
votes
2answers
50 views

copy files over ssh

Let's say I have 2 pc's set up on a wireless network. Machine A is my daily driver and it uses Ubuntu 15.04 Machine B is an old pc I want to set up as an ssh server with Debian LXDE(but it boots to ...
2
votes
1answer
48 views

How to open image in client via SSH

I am using client as a display laptop. I want to control the window via server SSH. however, when I run wmctrl -n 1 it always said Cannot find display. I wish to use SSH to have a control of ...
3
votes
1answer
3k views

access webpage through ssh

I need to access the IEEE xplore, but I don't have right to download out of institute. I can login into the server of institute via ssh, so How can I access IEEE xplore through institute server via ...
0
votes
1answer
52 views

I'm having some issues working with parallel ssh

I'm trying to figure out how to issue the same command to an entire cluster. I'm using parallel ssh, but I can't seem to get it to work right. When I try a command I get: [1] 22:58:24 [FAILURE] ...
0
votes
0answers
92 views

Ubuntu, SSH: handshake failed

so i'm currently using packer to build an ubuntu ami through AWS. After which i'm using terraform to launch and provision the instance. I'm running in to problems when I try provisioning within ...
0
votes
0answers
48 views

SSH to Server that is connected to VPN

My server should be connected to a VPN as a client. When I run the OpenVPN script (from HMA), the connection from my local machine to the server over SSH gets lost - connecting is not possible any ...
0
votes
1answer
98 views

Can't reach my server from another network

setting up my own server lead me to a problem, that i can't solve on my own. My server is a 'Ubuntu-server 14.04.1' and is located behind a 'FR!TZBox 7390'. My ipv4-adress is projected on a ...
0
votes
0answers
26 views

I can't login from another location on my Lubuntu/Ubuntu server

Yesterday I installed Lubuntu on my old laptop and installed an SSH server. I used PuTTY and FileZilla on my local network and everything was fine but today when I tried to login form another IP it ...
0
votes
0answers
17 views

ipv6 ssh connection with nautilus (rsp. nemo)

I want to establish an ssh connection to a server with an ipv6 adress via nautilus, nemo, or any equivalent gui file browser. the ssh connection via terminal works just fine. However as soon as I ...
0
votes
0answers
171 views

From laptop to Raspberry Pi: ssh: No route to host, ping: Destination Host Unreachable ; works from PC

I have a laptop, raspberry and a PC on network. PC and raspberry can ping each other and connect with SSH. But my laptop can't connect to others: ping: arian@arian-N56VM:~$ ping -c5 192.168.1.100 ...
0
votes
0answers
82 views

Passwordless ssh to vagrant to load another user after vagrant ssh

I have a new user in my vagrant box(trusty64) and I am trying to ssh into it. Instead of logging into vagrant user after vagrant up, I want to login to my username. What I have done so far Created ...
0
votes
1answer
141 views

How to generate Openssl .pem file and where we have to place it

I want to generate a OpenSSL .pem file to allow the remote login via ssh using .pem file at the place of password. I am able to generate key as well as .crt and .pem file using the following sudo ...
0
votes
0answers
23 views

virt-manager not saving connections

The Virtual Machine Manager (virt-manager) doesn't save the remote connections. I remove the local connection and add my remote connections and close the application and reopen it and the remote ...
2
votes
2answers
67 views

How to stop SSH disconnect after a a certain amount of time

I connect to my Ubuntu 14.04 VPS using putty. The connection used to just stay alive indefinitely. Now though I seem to be getting a disconnect after a certain amount of time. I have done some ...
1
vote
1answer
44 views

I don't have the ssh-copy-id command (windows client) [closed]

I'm following this guide to set up an RSA key pair with my VPS. I'm using my Windows PC to follow through with the first part of the guide, and ssh-copy-id does not exist in the command prompt ...
2
votes
1answer
256 views

How to set up ssh-agent

I have set up ssh-agent. The problem is, it stills asks for a pass-phrase every time! How do I set it up to only ask for a pass-phrase once? It would be best if it only asked when it was first needed, ...