Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

learn more… | top users | synonyms

8
votes
4answers
63k views

How can I connect via SSH (Putty) to my VMWare machine (Ubuntu)?

I'm trying to connect to my VMWare (Workstation 7.1.3) machine (Ubuntu Lucid) via SSH. I've read through some other posts, but I can't figure this out. I ran ifconfig, and got a inet addr: and Bcast ...
0
votes
1answer
30 views

Remote SSH Connection Refused

I am a beginner in networking, so it could be that the problem is very basic... I am trying to remotely SSH into a computer attached to my home network, and to do so, I first made sure that I could ...
3
votes
4answers
3k views

SSH session becomes unresponsive when logged into Ubuntu Server virtual machine using VirtualBox

I'm really at my wits end here, so I'm hoping someone here can help me. I have a virtual machine running Ubuntu Server 9.10. It's just a small development environment so I can keep my code separate ...
1
vote
2answers
19 views

How to login ssh without a password using the ssh host key?

I want to login to this machine, but I just have an ssh host key, not a password. Example from nmap: | 1024 b6:00:e3:71:8c:a3:4e:e4:8b:9a:b5:c2:68:86:de:82 (DSA) |_ 2048 ...
1
vote
7answers
3k views

How to use ssh from shell script without waiting for password?

I can not use public key method. I also don't want to use expect script. I searched this site for solution but everybody is talking about these solutions. Is there any other way like command line ...
2
votes
2answers
21 views

Unix find not working with a wildcard in the path when ssh'ing

This command with a * in the find path works fine on the local server Svr1$ find /path/*/foo/ -name "*20160208" When I try this remotely from another server it doesn't work Svr2$ ssh Svr1 find ...
0
votes
2answers
103 views

Log in using SSH without password

On my server, I've got openssh-server and a special account without password. I'm creating a shell script, that must be used without user input. For example $(ssh dummyUser@dummy.com) I need script ...
3
votes
3answers
10k views

Using PuTTY (SSH) to connect to home router

I'm quite new to puTTY and SSH. I am having difficulties connecting to my router using SSH. I am able to connect just fine with Telnet however. Is there any prerequisites needed for SSH? For instance, ...
1
vote
0answers
17 views

List the monitors physically connected to remote computer (make/model details)

If I were sitting in front of the computer I could run xrandr --query in terminal but this doesnt tell me the make/model (at least i know something is connected) but while remote (using ssh) I receive ...
0
votes
1answer
9 views

How do I set up rsync in my environment (windows client to apache server with Wordpress installation)

I read the word rsync for the first time today after looking here on sueperuser for a solution to only transfer files which have been changed. I am working on a website with this environment: ...
0
votes
1answer
18 views

Batch for execute Putty, log on Server and run commands with shell script or txt

I need help for this process. I have a batch file to run Putty and log with ssh an server and will execute commands from file "commands.txt". C:\Programme\PuTTy\putty.exe -ssh user@server -pw 123456 ...
1
vote
1answer
18 views

Debian - remote SSH authentication failed after numerous attempts of fixing it

So, a few weeks ago my remote SSH to a server stopped working. First of all my setup - I have my server running ESXI, 2 VMs, one as firewall and one where my server resides. I have a NAT rule set up, ...
1
vote
2answers
28 views

How to view logs online during heavy usage with screen, tmux or Byobu?

Normally I use tail -F, but on heavy usage it is getting irresponsible and unreadable. On ssh I also use buyobu to type password only once. But when any of screens become irresponsible then all ...
1
vote
0answers
553 views

Intermittent disconnections when using OpenVPN over SSH tunnel; possible iptables issue?

I've recently set up a Debian Wheezy server with OpenVPN to help out some friends in areas where internet censorship is a problem (including the blocking of VPN traffic in general). To overcome this, ...
0
votes
0answers
8 views

External mail from windows get rejected, local mail works

I have linux server with working SMTP server (postfix)... (I can send emails to gmail when connected to it via ssh) But if I send through bmail in Windows i get this in linux mailq: BB986640FC9 ...
0
votes
0answers
10 views

Deleting ftp folder in remote system using putty command automatically when system boots?

I need to delete a folder in a remote system using putty, I have rm command to remove particular folder, but this should run everytime when the system starts how to do it?
2
votes
1answer
387 views

Make hidden folders invisible sftp

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
3
votes
2answers
3k views

GIT Identity file not accessible: No such file or directory

Host github.com git HostName github.com User git IdentityFile ~/.ssh/github # I've tried also /home/freinn/.shh/github There's no /home/freinn/github file created, have I to create it? ...
2
votes
1answer
56 views

Execute commands using sudo in remote server after logging into PuTTY through batch file

I need to login into remote server daily and perform same set of tasks. I am using Windows platform and the remote server is Unix. I use PuTTY to login to remote server. To reduce the manual work, I ...
1
vote
1answer
17 views

Using wildcard in unix find command's path

This command with a * in the find path works fine on the local server Svr1$ find /path/*/foo/ -name "*20160208" When I try this remotely from another server it doesn't work Svr2$ echo $Pswd|ssh ...
1
vote
4answers
66 views

SSH alternative for a long range/high latency connection

I'm about to set-up a raspberrypi in a remote location (300+km to me). It will connect via GSM since there's no landline on 3G/4G. I need a way to "ssh" inside the pi to manage some stuff. Since GSM ...
11
votes
7answers
23k views

With ssh, how can you run a command on the remote machine without exiting?

Normally, if you pass a command to ssh like so ssh me@example.com 'some-command.sh' You get a non-interactive session, and ssh exits as soon as the command (or script, or whatever) is run. How can ...
20
votes
5answers
23k views

how can I pass an environment variable through an ssh command?

How can I pass a value into an ssh command, such that the environment that is started on the host machine starts with a certain environment variable set to my choosing? EDIT: The goal is to pass the ...
6
votes
6answers
7k views

Putty title changes after login

I am connecting with putty to a stock Ubuntu machine hosted at EC2, and notice the following: When I connect, the title of the putty window appears at first as the hostname I enter (e.g. ...
3
votes
2answers
246 views

Why can't I make a SSH over HTTPS tunnel to my home server?

I am trying to bypass a proxy server at my school due to it's unnecessary restrictiveness by using SSH tunneling over HTTPS. I have succeeded by using a free SSH tunneling service, and proxytunnel, ...
0
votes
1answer
14 views

Unable to load nvm commands via SSH [Ubuntu 14]

I know there are quite a few similar questions around, but I am still unable to get this to work. If I try to run nvm install node, all starts to work again. ubuntu@*:~$ node The program 'node' can ...
0
votes
1answer
18 views

Is there another way to remote login besides SSH?

I was curious about how hackers get into computers without remote login. Even if remote login is on, how are they able to find out the external IP address, and actually know that the computer is ...
1
vote
2answers
29 views

Connecting to server using ssh command in Terminal

I'm on a MacBook Pro running the latest OS and im connecting to a server in Terminal using the ssh command to connect to one of my university's servers. we connect using our username then must punch ...
1
vote
1answer
24 views

PuTTY terminal behaviour differs between two accounts on same server

I'm using PuTTY to connect to my server where I have two accounts. One account gives me a colour terminal and responds correctly to the home/end keys, while the other account gives me a black-n-white ...
0
votes
1answer
21 views

Rsync over a Network

I can't exchange files between my pcs, when I give the command sudo rsync -av -delete --rsh=ssh localhost/directory remotehost/directory remotehost root password is required but when I type it the ...
6
votes
2answers
884 views

How can I copy the output from a remote command into the local clipboard?

I use iTerm2 as my terminal client in Mac OS X. On the local system I can use pbcopy and pbpaste to transfer data between the system clipboard and the terminal, but of course this doesn't work when ...
1
vote
2answers
13k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
1
vote
2answers
40 views

Cannot connect to local SSH server - bad file number

I have an Odroid XU4 with Ubuntu 14.04 server on it. I installed the ssh server with apt-get install openssh-server. I got the local IP with hostname -I, which is 192.168.0.186, I generated a random ...
1
vote
0answers
15 views

Docker driver SSH via username and pass

I am a docker newbie and trying to write a docker driver. The driver needs to create a remote host and deploy docker. The problem is that my host does not support SSH keys so I need to login using ...
2
votes
1answer
5k views

Checkout from svn repository over ssh

I'd really like to know how to checkout a SVN repository from a remote machine that is only serving on the svn protocol (so no WebDAV with Apache etc.) over an SSH connection. Can someone tell me how ...
2
votes
2answers
35k views

Putty: 'Server unexpectedly closed network connection'

Putty 'Server unexpectedly closed network connection' I have been getting the 'Server unexpectedly closed network connection' (see Putty ends to an unexpected error and VNC shows terminal with error ...
0
votes
1answer
21 views

As an unprivileged user, how can I configure sshd to allow only specified commands to be executed when it's autheticated with a password?

I usually log in to a SSH server (where I'm an unprivileged user) by using my public keys. I also use authentication by a password when I use the server as a git-annex repository. What I want to do ...
1
vote
1answer
3k views

Unable to ssh in beagle bone black

I wanted to install pip onto beagle bone black,and I tried this: /usr/bin/ntpdate -b -s -u pool.ntp.org opkg update && opkg install python-pip python-setuptools Then it threw errors, ...
0
votes
0answers
8 views

SSH key login as different user: what privileges do I have?

I am using SSH keys to connect to my server (call it ClownServer), which is a Windows2008R2 running Cygwin (whether that's a good idea or not is a topic for another thread). I have a non-admin ...
0
votes
0answers
4 views

APCUPSD running in Windows VM on ESXi 6.0 host - cannot probe shutdown

I've tried a few different solutions to get this process to work on my APC Back-ups 550 with no success. I have an esxi 6.0 host running several VMs that need to be gracefully shut down in the event ...
0
votes
0answers
8 views

In elasticbeanstalk, can I ssh in and manually restart the (node) app?

I want to eb ssh in, stop the node app (not the entire instance), make a debug change, and npm start. When I eb ssh in I can inspect my files, and edit them. But I can't use the npm commands, and I ...
0
votes
1answer
14 views

iTerm2 -> ssh -> gnu screen -> split window: scroll wheel not working

I'm using Mac OS X as a workstation. With iTerm2, I connect to a remote host (Ubuntu Server) using this command: ssh -t user@host screen -D -R -R But I can't get the scroll wheel to work correctly, ...
0
votes
0answers
20 views

How to Wake Computers For SSH and Remote Desktop Services?

I have a mix of Mac, Linux and Windows computers. I love being able to SSH into them and launch a remote desktop client, so that I can pretty much access all of my computers from one. The only problem ...
22
votes
5answers
14k views

“Bad owner or permissions” error using Cygwin's ssh.exe

I'm trying to use ssh.exe in Cygwin (in Windows 7). I copied a config file into c:\cygwin\home\[USERNAME]\.ssh. When I run ssh (for example, ssh -vT git@bitbucket.org) I get the following error: ...
0
votes
1answer
28 views

SSH cannot login from a specific user

I am trying to connect from userA1@hostA to host userB1@hostB using ssh. I added the content of .ssh/id_rsa.pub file from userA1 to .ssh/authorized_keys file of userB1. Set authorized_keys and ...
1
vote
1answer
16 views

FreeBSD SSH terminal windows

When I run a ncurses-based tool, say nano, in a Linux/OSX SSH session and then close it, the terminal session is back with the history and everything. But if I start nano in a FreeBSD SSH session and ...
0
votes
1answer
32 views

Open a movie with VLC from command line via SSH

I have a linux machine connected to the tv and being the lazy person I am, I would like to sit on my laptop, SSH into the linux machine and play a movie in full screen. I've tried running the command: ...
0
votes
0answers
14 views

Can See Directory But Not Contents

I am using Bitvise to connect to a server and am able to see the directory C:\Testing but when I double click that directory to open it, it shows an empty directory. However, on the server itself ...
0
votes
0answers
6 views

SSH connection breaks again and again

I am using SSH to achieve remote desktop connection. I am using cygwin at server side and plink at client side to connect the SSH server. It was working fine without any error till yesterday. Now I am ...
0
votes
0answers
27 views

How do I configure a Jenkins job to target a specific server to deploy to?

I am using two CentOS servers. I am not using any code repository. In Jenkins when I click "New Item," I see no place to enter the target server. I expect a place to configure a target server for a ...