Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
0answers
7 views

Is it possible to delete directory when in the directory in shell

I have a directory which I run a program in. /usr/bin/my-dir I need to run the program from within the directory So I must go cd /usr/bin/my-dir ./my-program I have a script that from a ...
0
votes
2answers
29 views

In a Terminal profile, how can I set it to cd right after ssh connects?

I'm on OS X, using Terminal (bash) to connect to my web server. I'd like to set up the Profile so that it opens to a specific subdirectory after ssh connects.I don't always want to start in this ...
0
votes
2answers
3k views

SFTP via Terminal Error

I cant connect to a server via sftp any more, I could yesterday. Here is the full sftp -vvv log, maybe you could help me out? Tried deleting ~/.ssh, tried hosts.allow / hosts.deny. No solution at all. ...
0
votes
1answer
20 views

Laggy SSH sessions on local network

I have two machines: Windows 7 connected by ethernet to a router NixOS laptop, connected wirelessly to same router My issue is that sshing from Windows to NixOS is extremely laggy. If I ping NixOS ...
5
votes
5answers
80k views

How to run a command file in PuTTY using automatic login in a command prompt?

I am using the following to login automatically to a remote server and then run commands listed in a commands.txt, like this: C:\path\to\putty.exe -load "[Sessionname]" -l [user] -pw [password] -m ...
1
vote
0answers
9 views

reset scrollbar iTerm2 or (terminal) under MAC

I am switching from Putty to iTerm2 (windows -> Mac). Is there a way to disable "Reset scrollback on display activity" but enable "Reset scrollback on keypress"? Thank you in advance More ...
0
votes
0answers
8 views

Git: fatal: not a git repository, followed by 'Everything up-to-date'

I'm configuring git for web deployment purposes and have had a bear of a time. After sorting out various permissions issues, I got the error "remote: fatal: not a git repository" and then it lists the ...
0
votes
1answer
9 views

running scripts using SSH Tunnel mac

I have got a SSH tunnel setup using Coccinellida tunnel manager but I really can't work out how the hell I run the scripts I need to!?!? its says it is connected but I have no text area to write the ...
1
vote
1answer
10 views

Android app with ssh-copy-id ability

As the titles says, I would like to copy my ssh key to the server and afterwards disable root password login for security reasons. I'm using JuiceSSH but it seems to lack ssh-copy-id for the free ...
0
votes
0answers
5 views

Pam_krb5, pam_unix and pam_ldap error happen at the same time?

When I try to ssh into machine A (ubuntu1404). $ ssh ktin@machineA.test@somecompany.com password: machineA sshd[16732]: pam_krb5(sshd:auth): (user klin) credential verification failed: Server not ...
2
votes
1answer
12 views

My host offers SFTP only, not SSH. Can I still use private key authentication? i.e., does SFTP use SSH implicitly?

I'm using WP Engine as my host. They are a managed host and they never offer shell access. However, they do allow setup of SFTP accounts. My (limited) understanding is that SFTP still uses an SSH ...
1
vote
1answer
35 views

Time Machine on Ubuntu Server via SSH tunnel - backup fails

I have an afpd up on my Ubuntu server. Everythings works fine in LAN. If I want to make a backup for a user via ssh tunnelling it fails, although it works in lan. The tunnelling works fine. When the ...
0
votes
1answer
29 views

Ubuntu Plesk SSH issues (permitRootLogin)

I got a new Ubuntu 14.04 server with unlimited Plesk delivered and working. If I try to migrate the old server through Plesk's Migration Manager it reports the following issues: rsync execution ...
0
votes
1answer
17 views

Fail if SSH remote host key is unknown

I am using a tool which relies on ssh to connect to a remote host. Unfortunately this tool does not accept user inputs and when the remote host key is unknown the call hangs forever. Is there an ...
0
votes
0answers
4 views

ssh-add issue Could not open a connection to your authentication agent

I'm having a little issue with my ssh-agent. Indeed I can't make it work and I don't understand why. This is the console's output : http://hpics.li/807f3fe I'm sure that ssh agent is running. For ...
0
votes
0answers
17 views

Forwarding high quality graphics from matlab via ssh

I am connecting to a local server that runs MATLAB (version 2015a) via ssh with the X forwarding option (ssh -X). However when I start MATLAB I get this warning: libGL error: failed to open drm ...
3
votes
1answer
2k views

Execute local script requiring arguments on Linux via plink

Is it possible to execute (from windows) a local script with arguments on a remote linux system? Here's what I got: plink 1.2.3.4 -l root -pw mypassword -m hello.sh Is there a way to do this ...
104
votes
10answers
61k views

How do I set up SSH so I don't have to type my password?

How do I set up SSH so I don't have to type my password when connecting to a host?
0
votes
0answers
7 views

vncserver is still allowing connections even after I use “-localhost”

I set up vncserver on a computer I wish to connect to through ssh tunneling. I heard that for security reasons you should add the -localhost option on the server machine so that it will only allow ...
0
votes
1answer
18 views

Copy my ssh key to remote machine via ssh-copy-id in a script without prompt?

My usecase is that i need to copy my ssh key for authorized access onto a remote machine. I need to be able to call a script that copies over my ssh key to the remote machine without needing my input. ...
0
votes
1answer
29 views

The logic of Disabling Root Login

Ubuntu 14.04 VPS user here. My VPS was hacked twice. And the third version is up. Fingers crossed. The mistake I made in the first two was that I had root + password login enabled. I've learned ...
0
votes
0answers
24 views

Forcing server to server copy to use LAN and not WIFI and “Smart” SSH GUI utility?

I have a simple LAN setup consisting of 4 macs with the included ssh servers turned on (all on Mavericks/Yosemite) I regularly sort and move files between the ssh servers. I'm looking for a tool that ...
0
votes
0answers
14 views

Can't increase ulimit in Centos 6.6 - never persists

I'm trying to increase the nofiles limit in my Centos 6.6 system. My user is 'hchiu', and this is what I appended to my /etc/security/limits.conf: * hard nofile 128000 * soft nofile 128000 I've ...
1
vote
1answer
11 views

Conveniently SSH to internal hosts?

I recently discovered that with ~/.ssh/config, I can save a lot of keystrokes and automate long command lines, specifying a lot of per-host defaults. Now that I noticed how powerful the tool can be, I ...
3
votes
1answer
2k 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? That's the ...
1
vote
2answers
4k views

Linux: wmctrl cannot open display when session initiated via ssh+screen

I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen. If I start the screen session from the local machine, wmctrl works fine, including if I ...
1
vote
1answer
36 views

FileZilla public key not working (Successfully loaded 0 key pairs from file)

I currently have troubles logging in with a public key using FileZilla. Neither the root user, not an other user accept the key. Now the strange thing is when using putty it is working without any ...
4
votes
5answers
1k views

Shut down computer using ssh

What ways are there to shut down a computer using ssh? Im running on linux and when I try to shut it down remotely using ssh, it doesn't actually work. I used the command sudo shutdown now. ...
1
vote
4answers
27 views

Restricting SSH Access to Amazon EC2 Instance

I am preparing to set up an Amazon EC2 instance. It will be a testing and development machine to allow me to put PHP, Python, etc scripts on a server without being tied down to a local machine. ...
0
votes
1answer
46 views

Gitlab 7.10 install doesn't create proper ssh git user config?

I am setting up a Gitlab instance on my home VM lab and am baffled with the way SSH is configured in Gitlab so I would appreciate some insight into whether I am doing something wrong or is Gitlab ...
0
votes
2answers
18 views

SSH vs Apache port 443

I want move SSH to port 443, but is used by https. In /etc/apache2/ports.conf I commented the lines for listen by this port. In the default site available also commented the lines. For finish, I ...
0
votes
2answers
62 views

Disable Root — what all issues will arise?

I have a linux server (Ubuntu 14) that I access using root and SSH keys (i.e. no root password). I have also created a non-root-user (and a corresponding non-root-user's-password) with sudo ...
0
votes
1answer
45 views

On a host with two IP addresses, I am getting “no route to host”, but SSH works

I have a very strange problem. A server has two IP addresses on a single network interface: eth0 has 172.20.40.1 eth0:0 has 10.1.1.1 The address for eth0 is static, the one for eth0:0 comes from ...
0
votes
0answers
13 views

SSH Putty Port Forward Over Specific Interface

Server1: 201.23.253.12 and 192.168.1.12 Server2: 192. 168.2.76 Server3: 201.23.253.25 and 192.168.1.25 I have servers that I access remotely via SSH. Server1 is a jump server that has a internal and ...
0
votes
0answers
7 views

Redirect incoming connection to existing tunnel

Can I use my shared web hosting server, and currently unused domain names, to forward incoming connection requests to my home computer without a public IP address (due to a cgn), without opening up ...
0
votes
1answer
13 views

Keepass to ssh to a second server

How do I setup keepass to ssh to a second server once in the ssh session? For eg, I double click the keepass entry which logs me into serverA. I can only reach serverB from serverA, so I want ...
0
votes
0answers
11 views

ssh to a machine with bridge ports

I want to connect to a machine by ssh this machine has tow ports that are bridged. I am using bridge IP to connect ssh samie@192.168.1.97 But I get this error ssh: connect to host 192.168.1.97 ...
24
votes
2answers
11k views

scp between two remote hosts from my local

I have two remote hostes. host1-> 10.3.0.1 host2-> 10.3.0.2 Both are installed with ssh and scp. In my scanario, ssh and scp listen to port 22 in host1 and in host2 it is port 6969. Now, using my ...
0
votes
0answers
11 views

Scrolling in tmux over SSH (PuTTY) [duplicate]

I'm SSH'ing into my RaspPi (Raspbian) with PuTTY and I want to user tmux in order not to worry about a connection ending while I'm installing something. My Problem is, that when I call tmux from a ...
2
votes
2answers
20 views

start process from ssh and be able to close connection

I'm connecting to my RaspberryPi with Raspbian installed via ssh. My problem is that I can't let the RasPi do things (e.g., installing software, performing calculations) while my computer is shut ...
0
votes
0answers
13 views

Reverse scp to Ubuntu in Vmware ,Error reading:connection refused

I've successfully cross-compiled and installed dropbear on my embedded board. I have Ubuntu 10.04 installed in VMware Workstation. Openssh-Client/Server ( dpkg --list|grep openssh ) are all installed ...
1
vote
1answer
2k 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
17 views

How do i remotely connect to linux box bu tunneling via windows machine

i have a windows machines which serves as jumpb box where it has access to other network behind the firewall and i can do RDP from my laptop(windows) to this windwos machine (JB) Now i need to ...
0
votes
1answer
56 views

Cygwin not reading config file

I have a fresh installation of Cygwin and I created a config file (just as I had in my old installation) with the info to connect to ssh to some hosts. Now in this new fresh installation I have to ...
1
vote
1answer
45 views

Cannot connect to Raspberry Pi via SSH

I made an image of Raspbian on SD and trying to connect it now via SSH. The problem that PuTTY returns always “connection timeout.” I’m using Windows 8.1, connected to Internet via Wi-Fi. PC connected ...
7
votes
3answers
10k views

Enabling SSH Daemon from Terminal (OS X Lion)

I am trying to find a way of turning on SSH through terminal, instead of opening settings and turn it on that way. Or perhaps a way to turn SSH on by running a .pkg file? I am running OS X Lion, but ...
0
votes
1answer
21 views

Remotely accessing OSX machine behind firewall

I need some way to remotely access an OSX machine that sits behind a remote firewall (if it weren't for the firewall thing I could just ssh into it, but I have no control over the remote firewall to ...
-1
votes
2answers
21 views

RHEL 6.5 on VMWare workstation 11 - unable to connect via ssh

I have installed a RHEL 6.5 (NIRMAN) on vmware workstation 11 and added two ethernet cards eth0 - has been bridged to direct physical network (192.168.1.71) eth1 - NAT eth0 is pinging well from my ...
0
votes
0answers
21 views

Strange intermittent lag phenomenon over wireless LAN

I'm connecting to computer Y on my wireless LAN at home. Y is a newly-assembled machine running Kubuntu 14.04; it's wireless adapter is "Realtek RTL8192CE PCIe (rev 01)". Between other machines on the ...
1
vote
2answers
3k 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 ...