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

learn more… | top users | synonyms (1)

36
votes
7answers
205k 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
26 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
28 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
191 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
23 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
18 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
18 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
22 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
48 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
votes
0answers
15 views

Terminal: have same session over ssh [duplicate]

Is there any way by which I can have the same terminal session on two PCs connected through ssh? That is, If I run some command over PC1 terminal, the same should be shown on PC2 terminal.
1
vote
1answer
21 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
465 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 - ...
1
vote
1answer
12k views

SSH: Could not resolve hostname user@host: Name or service not known with my connection

I have a problem to connect a server using ssh. I got the following error message: ssh user@host SSH: Could not resolve hostname user@host: Name or service not known with my connection Also, if ...
0
votes
2answers
5k 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 ...
0
votes
0answers
10 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
100 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
91 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 ...
33
votes
5answers
187k 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.
1
vote
1answer
5k 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
2answers
98 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
21 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 ...
0
votes
1answer
5k views

Problems using the start-dfs,sh on hadoop 2.2.0

Im using this tutorial for installing hadoop 2.2.0 http://codesfusion.blogspot.in/2013/10/setup-hadoop-2x-220-on-ubuntu.html I've completed many of the steps successfully but I'm stuck over this ...
-1
votes
1answer
36 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
24 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 ...
-2
votes
0answers
23 views

Unable to ping Ubuntu 14(host) with virtual box Ubuntu Server(guest) and vice versa

I'm newbie to ubuntu, I was trying to connect both the system with the same IP range like 10.70.9.214(for Host) and 10.70.9.3(for Guest)..but i'm unable to ping from both end. and I wanted to use ssh ...
1
vote
1answer
31 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
30 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
36 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
1answer
3k views

Cannot connect to university computer via ssh over a VPN connection to my uni. network?

I need to VPN for happen a ssh connection to my uni. server. Both computer powered by Ubuntu 13.10. I am able to establish VPN connection to the network but ssh connection does not repond and gives ...
0
votes
2answers
32 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
37 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
2k 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
47 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
41 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
31 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 ...
2
votes
3answers
4k views

How can I connect to remote windows domain knowing gateway hostname and domain name?

I have received credentials for my University's network machine (Ubuntu yay!) that I have ssh access to. I would like to connect to it but first I need to connect through a gateway that I have ...
0
votes
1answer
88 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
21 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
11 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
71 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
40 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
3answers
6k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
0
votes
1answer
57 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
15 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 ...
1
vote
2answers
5k views

How to ssh from windows to my ubuntu machine in the local network

When I'm trying to ssh to my local ubuntu server from the gitbash on my windows machine Im getting this error: $ ssh 192.168.1.11 ssh: connect to host 192.168.1.11 port 22: Bad file number Other ...
2
votes
2answers
55 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
4answers
9k views

Can't ssh into server, connection refused

I can't ssh into my server. The server is on a private network administrated by me. Ubuntu is version 14.04. This started when I changed to a wired ethernet card. The client is MobaXTerm (latest) ...
1
vote
1answer
31 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
252 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, ...
0
votes
0answers
23 views

Repartitioning live system. Anything i missed?

I tried to repartition the server about a month ago, and ended up being unable to connect after reboot (SSH denied after messing with fstab) . I tried to read up on the subject afterwards, and I might ...