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

learn more… | top users | synonyms

2
votes
3answers
6k views

How to convert a WinSCP ppk to .CER/.PEM format acceptable by Azure Linux VM?

Googling was fruitless, as most people have a slightly different variation of this problem. I need to write some instructions on how to set up an Azure Linux VM and generate the keys using WinSCP. ...
0
votes
1answer
17 views

Use SSH to connect from dev pc through server to third party web service

I have a client who has set up a web service on an IP A. He has granted access to it for my server's public IP lets say B. Is there a way to reach the web service running on IP A through my dev PC ...
0
votes
1answer
11 views

tail/head all line except X last/first Lines

for example i have this file : cat myfile 1 2 3 4 5 i want to print all lines except first 2 line . output should be like this : tail -n $(( $(wc -l myfile | awk '{print $1}') - 2 )) myfile 3 4 5 ...
1
vote
0answers
7 views

SSHing gives me UTF-8, but using 'ssh -t' does not

I'm accessing my desktop machine using SSH to connect to a Screen session. If do this: ssh -p 12345 111.11.111.111 screen -r "Jelly" I have UTF-8 support working fine. However, if I do this: ssh ...
0
votes
1answer
31 views

ssh failiur: Offending RSA key in /var/lib/sss/pubconf/known_hosts

I know similar questions has been asked many times, but there's a difference here: Trying to ssh to the server I get: $ ssh cl11lx @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
6
votes
2answers
8k views

Connecting to an SSH server from Client behind an NTLM Proxy

I'm trying to get to my SSH server on the internet from a corporate network. All connections to the outside internet have to be proxied through a server that check's for the NTLM hash of each client ...
0
votes
1answer
4 views

Using openconnect on a remote VPS without the ssh session hanging

I've done a few searches for this one but none of them have any answers for the specific case of openconnect. I need to access a Cisco AnyConnect VPN, so I'm using openconnect. When I log onto my ...
0
votes
1answer
14 views

Cpanel/WHM not working

Everything work fine, suddenly today afternoon Both cpanel and WHM stop working. But still the website and SSH work fine, But i am unable to open cpanel or whm, when i opening using IP ...
30
votes
5answers
9k views

Can you disable the Ctrl-S (XOFF) keystroke in Putty?

I do a lot of ssh-ing, and periodically I hit Ctrl+S, which naturally sends an XOFF, and causes all kinds of problems (not to mention it takes a while for me to figure out what happened, then another ...
0
votes
0answers
15 views

PAM SSSD Allow Local Users

I've got a default SSSD configuration with PAM. I can login fine as any LDAP user. However, when I create a local user on a server: adduser test1 passwd test1 and then try to login as that user I ...
1
vote
1answer
13 views

Execute SSH port forwarding along with the browser

I've successfully set up dynamic port forwarding over SSH in Pale Moon and added the alias as ssh-forward in .bashrc. Now I have to execute both ssh-forward and palemoon to access the Internet over ...
9
votes
5answers
69k 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 ...
2
votes
3answers
3k views

Mounting a remote filesystem on Windows 10 using Bash

Now, that windows 10 is out I started wondering about something. Unix based systems have the possibility to mount remote filesystems using ssh. In a recent article I've read that Windows 10 Has ...
2
votes
2answers
236 views

Vagrant and Ansible facts

Is it possible to have Ansible display facts about a Vagrant box? The Ansible documentation uses ansible hostname -m setup even if I connect with the Vagrant user I would still need the SSH key ...
0
votes
1answer
329 views

Vagrant PermitUserEnvironment

I am using vagrant to host a virtual Ubuntu 12.04 machine. I am trying to get it to use the ~/.ssh/environment file to use my personal PS1 among other things. It does no work. I have ...
1
vote
1answer
424 views

Can't set up port forwarding on ZyXEL DSL router

I'm trying to set up SSH connection with a PC that is behind the DSL router. I do know that to do that - I need to turn off firewall on the router and set up port forwarding. So my firewall is off. ...
-2
votes
1answer
38 views

I can ssh into server A from server B. But I cannot ssh into server B from server A

I have 2 servers in a data center. Server B is publicly accessible, as in, I can ssh into it. Server A is not. So to access Server A, I ssh into Server B. And then from there, I ssh into Server A. ...
3
votes
1answer
3k 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 ...
1
vote
1answer
35 views

Copying files while SSHed onto a computer

I am trying to upload some website files to a computer I am SSHed into and I'm not sure the correct command to use. I've tried looking up the cp command instructions but I can't work out what to put ...
0
votes
1answer
71 views

Why my reverse ssh is closing when I try to connect to it?

I'm using a reverse SSH tunnel on Debian with openssh-server and autossh: something like -R 1234:localhost:22 with a monitoring port also set. Generally, it works well, but I'm having the following ...
0
votes
1answer
262 views

Error message using scp over ssh

I'm not sure what's going on but as of late I can't seem to get any files copied to local from my remote server. I tried rsync from local and get the following error message: mut@mylocalcomputer:~$ ...
1
vote
1answer
4k 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, ...
6
votes
3answers
3k views

Running ssh-keygen without human interaction?

Would it be possible to run ssh-keygen without human interaction? I have a shell script that takes care of server deployment from start to finish, but ssh-keygen is the only remaining piece that ...
0
votes
0answers
23 views

Setting up an ssh authentication server [migrated]

I have some 30 Media Temple grid servers and I need to manage the access of 15 or so developers to those servers. Is it possible, and more importantly secure, to setup a server who's only job is to ...
0
votes
2answers
16 views

Why am I getting “error stdin: is not a tty, /my/local/directory: no such file or directory”?

I can't figure out why it can't find my directory. I am using the SSH terminal in cPanel to transfer a large directory to my remote server from the local machine I'm on. I ran scp -r ...
0
votes
0answers
7 views

How can I attach to a ConEmu tab via SSH?

I would like to be able to start long-running processes on my Windows machine (for example, video transcoding) via SSH, then disconnect and leave the process running, then reattach to the session ...
3
votes
3answers
20 views

sudo via cron'ed ssh works in RHEL6 but not in RHE7 (/dev/tty: No such device or address)

I give up: I have a cronjob script that Ive been running for years (out of a RHEL 6.7 machine) to remote into other RHEL machines via ssh. Works flawlessly against RHEL5 and 6 but fails against ...
1
vote
1answer
16 views

Too many failed attempts, SSH is requesting PubKey I didn't set up

I think I, somehow, made too many attempts trying to login to my root@server using ssh. SSH is now asking for a public key authentication, which I have never set up. How do I log back in to my ...
0
votes
1answer
21 views

SSH over softether VPN connection

I configured my Raspberry Pi as a softether VPN server (according to Raspberry Pi: Install a SSTP VPN server using SoftEther). I can now create a VPN connection from my Windows machine to the ...
1
vote
0answers
16 views

get the list of remembered Network Profiles of a Windows computer over ssh

AFAIK, Windows remembers the network locations you've connected to (and tagged as Guest, Work or Home). It identifies them based on (possibly among other things) the domain name returned by the DHCP ...
3
votes
3answers
6k views

using python Paramiko for ssh: sudo: no tty present and no askpass program specified

I want to use paramiko to ssh into a bunch a remote nodes and run some command line with root priviledge I have ssh key in my home directory and so i don't need to input password when I ssh into ...
0
votes
0answers
22 views

sftp - skipping non-regular file error

I get skipping non-regular file /home/local/dir/dir2 while using: put -P /home/local/dir/dir2 /www/dir3 Sftp connects on non-default port, with ssh key and no-password, transfers normally ...
3
votes
5answers
3k views

keep SSH-port-forwarding connection alive

I am doing a permanent port forwarding via SSH. It is basically while true; do ssh <somewhere> \ -R <dst-port>:localhost:<src-port> \ -N -n ...
0
votes
2answers
197 views

Synology DSM 6.0 SSH - command ether-wake no longer working

Since I upgraded to DSM 6.0, I no longer have the ability to 'wake on lan devices in my network. I used to do an SSH from a remote computer and ran following command: ether-wake -i eth0 ...
2
votes
1answer
38 views

git: “pack has bad object” when pushing to remote

I have a bare git repository on my Raspberry Pi which only I use. When pushing to it today, I got this error message: Counting objects: 460, done. Delta compression using up to 8 threads. Compressing ...
0
votes
2answers
67 views

Was my server being SSH brute-forced?

Right, so I noticed my internet speed slowed to a crawl. I restarted my home Ubuntu server and the speed immediately increased. So I checked the active network connections with netstat -tupn and ...
0
votes
0answers
22 views

Network error: Connection refused

I am trying to connect to my Raspberry Pi through my PC using putty. Pi and my PC are connected through network (router) using an Ethernet cable. Till yesterday I was able to connect to this Pi, ...
0
votes
0answers
10 views

No Plink output from python script

So here is the stack Rasberry Pi, has a python script python.py Hardware connected to pi, which runs my python Windows machine uses putty to kick off python script, via putty/plink to startup the ...
0
votes
0answers
9 views

ISP blocks PPTP. Forward PPTP traffic using external node?

Given: Remote VPN PPTP server on work that i need to connect, and which, obviously i cannot configure. Me, at home with ISP which block GRE traffic. external linux VDS (ubuntu server) on which i can ...
0
votes
1answer
215 views

ssh root@“ip of lxc container” don't work

how can I enter in a lxc container using ssh? Because I follow many guide on that argument but I can't still enter in the container. [root@T410 andrea]# ssh root@192.168.122.215 -vvvv OpenSSH_7.1p1, ...
0
votes
1answer
4k views

Error Putty X11 proxy: Authorisation not recognised

I'm developing a robot with a Raspberry Pi, and I'm having trouble with X11 forwarding. When I'm going to run my script as: sudo python myscript.py I get the error: Putty X11 proxy: ...
1
vote
2answers
1k views

Using scp to transfer a .txt file list of files

I have 1.6 million files on server A, and only about 20k of them need to get to server B. The destination, server B, is on GoDaddy shared hosting, so I'm just about limited to scp for transferring ...
0
votes
0answers
13 views

How do I enable SSH from a wifi to a desktop connected by an Ethernet cable (Ubuntu 15.10)?

I have a laptop and a desktop (both running linux ubuntu 15.10). I work mainly on the desktop, but sometimes I like to be around the house with the laptop. Right now, I have ssh working so that, ...
11
votes
3answers
755 views

How to use UDP hole punching for a SSH tunnel / session

I want to deploy a Raspberry Pi in my weekend cottage. The Raspberry Pi is there to log the temperatures and send them to a remote server which has a fixed ip, saves the data and displays it on a ...
0
votes
0answers
28 views

Terminal SSH command not working while connecting to another computer

After entering the command: ssh [username]@[ip address of remote computer] I got the error: ssh: connect to host 10.3.32.1 port 22: Connection refused Does anyone know what causes this?
0
votes
2answers
31 views

Is there any risk of irrecoverable damage by giving public access to remote desktop/terminal?

If I allow public access to a remote control program (SSH, teamviewer, remote desktop connection, etc) is there any risk of damage that can't be fixed through reinstalling the operating system? Do any ...
-2
votes
0answers
23 views

How to bypass proxy from intranet

I work in company branch and my company don't have internet acces, They just use intranet. lately we know than we can surf with proxy setting in our browser, use main company IP and user password too. ...
6
votes
0answers
60 views

SSH authentication using biometrics

I am using PuTTY to access my server via SSH. Due to the complexity of my private key's password, however, I've decided to consider using other methods of authentication, such as biometrics, more ...
1
vote
0answers
22 views

Why is there no UDP port forwarding in SSH?

I know SSH can forward TCP ports, not UDP. I'm not seeking help to circumvent this restriction (this subject is covered here). I'd like to know what is the reason SSH never got UDP forwarding ...
0
votes
3answers
22k views

Ssh to a remote server using putty through windows batch?

On Windows I use PuTTY to log in a remote server via SSH. I want to use Batch script to ssh remote server using putty. Server is a linux based OS. I used below script to do the same: start ...