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

Idea IntelliJ : Compile & Run Scala REPL in remote machine

I am developing a Scala application on my remote machine ( It doesnot support GUI ) I need to use IntelliJ IDEA to write my code . Can you suggest me the best way to write my code in local machine ( ...
0
votes
0answers
8 views

How restrict ssh pubkey using 'from=“pattern-list”' when connection goes through tunnel?

My home machine is behind NAT. I want get access to it using pubkey but want restrict that key to some IP. I make tunnel from home to server ssh -f -N -R 1144:localhost:22 user@server Server has ...
1
vote
2answers
25 views

SSH retain history of machines

I tend to ssh into alot of machines. What is the simplest way to recall them ? For example, is there a command such as ssh --history Which might print something like tuesday april 18 12:00 ...
0
votes
2answers
24 views

link machines which are both behind NAT via ssh tunnel

I have two machines. both behind NAT. Also I have access SERVER from each machines. Is there way to do ssh tunnel from machine1 to machine2 via SERVER? Client machines are linux mint. SERVER is ...
0
votes
0answers
15 views

How to pass the command to the other server using ssh

#!/bin/bash ENV=stg NODE=node4 KEYFILE=************ USERNAME=ubuntu PORT=22 HOST=********** CASSANDRA_HOME=/ebs/var/lib/cassandra KEYSPACE=*** TABLE1=RegisterUser TABLE2=EmailSyncMetadata ...
1
vote
0answers
8 views

Can I restrict VNC connections by SSH key or login ID?

I want to offer friends access to the X desktop on host "foo" for collaboration, but only at certain times; meanwhile, I want to access that desktop myself at any time. I have set up SSH port ...
0
votes
0answers
11 views

Log Commands Run Over SSH on Client Side

I am looking for a way to run SSH (OpenSSH in particular, but not necessarily) and log all commands that I run against the remote, to a file locally. Running each command as an independent ssh ...
2
votes
0answers
13 views

Mac OSX unable to SSH connection reset by peer

I have an SSH server running at home and I am trying to connect to it from school. But when I try to connect I get: ssh_exchange_identification: read: Connection reset by peer However, when I ssh ...
3
votes
1answer
43 views

How did I manage to combine O and c to © in PuTTY?

Today's mystery: I was going to type the word "Och", meaning "and" in Swedish. However, I ended up with ©h, and I don't know why, and I cannot reproduce it. The chain of software is as follows. ...
0
votes
1answer
21 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
32 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
1answer
22 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 ...
0
votes
0answers
10 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 ...
0
votes
0answers
9 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 ...
1
vote
1answer
45 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
19 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
23 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 ...
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
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
1answer
30 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
0answers
16 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 ...
0
votes
1answer
21 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
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 ...
1
vote
1answer
11 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 ...
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
29 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
2answers
20 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
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
1answer
46 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
8 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
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 ...
0
votes
2answers
64 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 ...
1
vote
1answer
43 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 ...
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 ...
0
votes
1answer
57 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 ...
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
15 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 ...
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
22 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
vote
1answer
49 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 ...
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
votes
2answers
23 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 ...
2
votes
1answer
50 views

Something I'm not “getting” about SSH keys: OS portability (Mac to Windows, etc.)

Let's say I create SSH keys in a Mac to connect to my remote server. My server has my public key. My Mac has my private key. So far so good. A few days later, I want to connect to my server by ...
1
vote
0answers
19 views

Amazon web services

I am trying to establish remote desktop connection to my Amazon EC2 Ubuntu instance from Windows 8.1(local system), followed all of the following steps mentioned in amazon aws docs At 16th step it ...
0
votes
1answer
27 views

Copying an SSH ID to a server from a certain computer yields an error while the same command works fine from other computers

I get the following error message when trying to copy an SSH key to a remote server: ssh-copy-id -p*** ****@****.com Pseudo-terminal will not be allocated because stdin is not a terminal. ssh: ...
2
votes
1answer
13 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
0answers
20 views

Can 't login to ssh DD-WRT router,but telnet can

I have TP-link which i re install the DD-WRT firmware on tp-link WR740N and the firmware version is : DD_WRT v24-sp2(03/25/13)std -build 21061 so i can login to router using only web interface and ...
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 ...