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
2 views

Weird bug with SSH, Unison and Samba?

I am running two servers, one at home (Server 1) and one at the office (Server 2). Both of these servers run a couple of Samba share directories which are synced every 30 minutes with Unison - the ...
0
votes
1answer
12 views

resuming SSH sessions

I often end up on the interstate, using a Windows-based laptop to SSH via my cell phone connection into my Ubuntu dev machine. Between the idosyncracies of cell phone connections, plus stopping for ...
1
vote
0answers
21 views

ssh stopped working due to roaming

I've got an openssh sshd/client installed on my laptop, but I can't connect to any servers from this machine. whenever I try to, it just hangs like so: ...
0
votes
0answers
9 views

ssh logout cause bash file problem

I have a .sh file which is called by a Node Web Server. In the .sh file I run some commands with my username [name], which is a superuser, without specifying the password. If I'm connected through ...
1
vote
4answers
39 views

sshd_config failure, is there a fallback?

So.. I decided to act like a complete moron and changed the Port to 81234 (which i now realize is higher than 65535), thus I can not login to my SSH anymore. Is there any kind of fallback or default ...
0
votes
1answer
24 views

ssh: connect to host [..] port 22: No route to host

I have two computers in our lab. ssh would work just fine between them. Now, I tried to do an ssh from master node to slave node and it failed. Restarting both nodes did not help. Here is what I am ...
1
vote
1answer
21 views

What is the difference between 'exec ssh localhost' and 'ssh localhost'?

I read man exec output, but did not understand the difference between these two commands: exec ssh localhost and ssh localhost. I tested both commands and did not found any difference. Is there any ...
0
votes
1answer
48 views

SSH and VPN Cisco connection working on one laptop but not on another. Both laptops using Ubuntu 14.04. Where is the difference?

I'm trying to SSH to our university server using VPN and WIFI connection. The bug is similar to this one, although different in details. The problem is as follows: Me and my colleague are using ...
0
votes
1answer
35 views

SSH login using Ubuntu's terminal

I'm using ubuntu system to login to remote server using ssh. SSH is configured in my system and I can see my public ssh key but when I try something like ssh xx.xx.xx.xx it throws error Permission ...
1
vote
2answers
30 views

Ubuntu 12.04 and SSH: Automatically shutting down another computer when powering off

I want to shut down another computer in my network when shutting down my own. For that I have created a script that logs into that machine through ssh and powers it off. (SSH keys are set up, so no ...
0
votes
2answers
31 views

SSH to network alias ssh_exchange_identification: read: Connection reset by peer

New install: Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-45-generic x86_64) I have no problem with SSH to the DHCP address .22, but when I try the alias address .80 the connection is reset by peer. I've ...
-1
votes
2answers
36 views

SSH to local ip in external network

I know there is a lot of information about this subject but still I do not understand something. We have internal wiifi network that include 4 desktops, each one has internal local ip address. The ...
1
vote
1answer
35 views

SSH connection refused/error message

I have a setup of systems, where each system has multiple users but only one user is allowed to login to a system at a time through SSH. I am using "passwd -l/-u" command to lock and unlock users, ...
2
votes
1answer
55 views

Who is telling me “You have mail”

On a server running Ubuntu 14.04 I see You have new mail in the motd every time I log in via SSH. Q: Who is telling me this? Mail does not find anything, and I do not expect any mails on this ...
1
vote
2answers
24 views

Is it possible to specify a different zshrc file on login over ssh?

I spend all day ssh'ing into servers for work and the remote user is one that is shared by myself and several colleagues so I can't just blindly customise the shell as not everyone will want my tweaks ...
0
votes
0answers
16 views

What remote host allows tunneling thru ssh with public key and password?

I need a virtual desktop that can only be accessed by having the ssh public key and the user password. I was trying remmina but it does not seam to support the dual authentication of public key and ...
-3
votes
1answer
20 views

error while using git clone

I'm trying to use git clone to clone a forked project for compiling. The input/output are as follows: preet@Preet-HP-620:~/clones$ git clone git@github.com:Preet23/android_vendor_resurrection.git ...
4
votes
2answers
35 views

How to access a RUNNING remote desktop

here is my problem: I have been working the whole day (on my office computer running Ubuntu) on a text document using a text editor (kile) when I came back home, I tried to copy the (newer) version ...
0
votes
2answers
40 views

How to insert data from text to mysql? [closed]

I get this text from router via ssh. But I want to insert user(fr-XXX) and macadress(F0:24:75:33:22:11) to mysql routerusers table. Flags: M - mac-cookie # USER DOMAIN ...
1
vote
1answer
25 views

Packet redirection based upon traffic type

Overview : Is there anything like ufw or iptables that will accept a packet on a port, but then redirect that packet locally depending on the type of packet it is? More info : I have a web server ...
0
votes
2answers
53 views

How do I get openssh 6.9 or greater and Apache2.4.12 or greater on to my 15.04 server?

I am trying to comply with government requirements and need to keep my 15.04 server up to date. Mostly 15.04 has recent packages. Can I upgrade Apache on the command line? I need openssh 6.9 or ...
0
votes
0answers
9 views

Set up BOINC through SSH and configure for multiple computers

I want to set up BOINC for SETI@home or other distributed computing projects. I have three or four computers with Lubuntu, but I would like to set them all up through a script instead of ...
1
vote
0answers
97 views

ssh connection to xxx closed by remote host

I have a admin server A which have root ssh trust for all other servers, and A can ssh most other servers without password, but for server B, it always says connection to B closed by remote host. ...
0
votes
0answers
8 views

Why am I getting permission denied (error 3) in WinSCP when I'm the only user and it's my home server?

I just setup a Linux home server using this guide http://linuxhomeserverguide.com/ and I am now trying to write to my /var/www/html folder because I want to make a website. I forwarded port 80 and ...
0
votes
0answers
26 views

What systems/remote desktops allow remote unlocking and locking

I have a very good desktop running ubuntu 15.04. I have a 2gb chromebook for developing on the go. The chromebook is not powerful enough to do what I need, so I need to be able to unlock my pc ...
1
vote
1answer
44 views

“Network error: Connection refused” in Putty when I'm trying to connect to my remote home Ubuntu server

I just set up a linux home server using http://linuxhomeserverguide.com/. I can connect to it from my desktop PC at home via putty using a local ip like 192.168.1.2 (just an example ip), but I want to ...
2
votes
1answer
16 views

Could not find id_rsa.pub

I am under cloud Ubuntu 12.04.5 LTS. And I couldn't find id_rsa.pub file. $ ls -ll ~/.ssh total 12 -rw------- 1 root root 4435 Jul 22 11:15 authorized_keys -rw-r--r-- 1 root root 2660 Jul 22 15:45 ...
1
vote
1answer
83 views

scp, where did my files go?

I logged in with ssh, into a pc in our lab. I would like to copy a .txt from there, to my laptop in home. So I did: root@hostname:/home/gsamaras/konstantis/cholesky# scp ...
0
votes
0answers
17 views

How to check if a switch is configured in 'ssh' or in 'telnet' using perl script provided the switch IP is available…?

In a perl script, when a switch IP is available, it is required to know if the switch is configured for 'ssh' or 'telnet' for continuing execution. How can this be done..? Please help it...
0
votes
0answers
9 views

Can't boot Ubuntu after 'reboot now'

I was connected to one of my servers via SSH when in the local PC I did reboot now. Since then I can't boot Ubuntu on the server nor connect via SSH from the local PC. I read that reboot now is not ...
3
votes
2answers
17 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
28 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 ...
2
votes
0answers
48 views

ssh: connect to host HOSTNAME port 22: Connection timed out

I have trouble connecting to a server with ssh from my Lubuntu 14.04 computer, although it can be done from other machines. I can't get to the address online either (others can). Am currently using a ...
1
vote
0answers
20 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. ...
0
votes
1answer
33 views

E: Package 'openssh-client' has no installation candidate

How to install openssh cilent and server on ubundu 13.04. i tried sudo apt-get install openssh-client on 13.04, but i got this error. i could not install it. mphil@mphil:~$ sudo apt-get install ...
1
vote
2answers
44 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 ...
4
votes
4answers
273 views

How can I redirect SSH users to another SSH login?

I have a person who will need access to my SSH server, but I want them to have limited access to programs. All they should be using is ssh, to login to another server. My server is an access point to ...
0
votes
1answer
48 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 ...
3
votes
2answers
194 views

Nothing comes up with I try to change the SSH port

I'm trying to change the port number, and I've found a few answers on here from the past, most saying that you should use the following code. nano /etc/ssh/sshd_config or modify ...
1
vote
1answer
34 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 ...
0
votes
0answers
29 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 ...
1
vote
0answers
25 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
20 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
24 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
23 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 ...
-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
24 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 ...
0
votes
0answers
11 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 ...
0
votes
2answers
109 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
24 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 ...