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

learn more… | top users | synonyms

1
vote
1answer
113 views

-L flag eqivalent in windows Netstat?

I'm trying to set up a tor node following http://sickbits.net/creating-a-personal-privoxytorproxy-ec2-instance/ using ubuntu 14.4 lts on ec2. I've gotten to: $ ssh ubuntu@ec2-blah.amazonaws.com -i ....
0
votes
0answers
4 views

ssh Kerberos “Permission denied (gssapi-with-mic)” but only sometimes

I am trying to ssh to a remote server that uses Kerberos for authentication (although I am not certain that is relevant). Running ssh -vvv hostname yields the following: debug1: Host 'hostname' is ...
0
votes
0answers
11 views

ssh on cygwin works locally but not remotely

I'm trying to use cygwin sshd to connect to a Windows 8 VM. I've installed it and it seems to be working OK. Locally - i.e. in a cygwin terminal on the Windows machine - if I ssh to localhost it works ...
0
votes
0answers
8 views

Vnc using “-localhost”, connecting with Windows/Putty

I'm trying to work remotely on a Linux machine, from my Windows machine. Starting the vnc server by simply doing "vcnserver", then connecting from Windows using tightvnc, to "server_ip:1" works, but ...
1
vote
2answers
626 views

pipe from ssh to windows “ssh server 'tail err.log' | tool.exe”

I want to live monitor a logfile generated on a remote linux host with a windows tool. I'm looking for something like: $> ssh remoteserver 'tail -F /var/log/err.log' | tool.exe But on Windows. ...
0
votes
1answer
34 views

Connect server to internet over local machine

Ive got access to a server over ssh to run some experiments and need to download some packages over the internet to perform these. Unfortunately, the server has no connection to the internet, or ...
0
votes
0answers
17 views

How to run very long ansible tasks?

I have following ansible role tasks: "Task 1", "Task 2", "Task 2.1", "Task 2.2", "Task 3" I need run them, but all these tasks need a lot of time to complete (from 1 hour to 12 hours) and they must ...
0
votes
3answers
6k views

PuTTY new line not working properly

I have PuTTY hooked up to a serial port and am reading an output of an AVR. I send print command like this: printf("OCR1A: %d \n", OCR1A); And PuTTY does go to the next line but does not reset the ...
0
votes
0answers
24 views

set up SSH on linux to browse internet

my mobile broadband provider is not allowing me to connect to internet except a specific url (their website). Can an SSH be used to access another website by exploiting their website's url? If no, how ...
9
votes
4answers
8k views

How to copy a sparse file using scp?

Do we have any option in scp that I could copy a sparse file ? The following command works with ssh, But I am looking for an option in SCP which copies a sparse file. tar -Szcf - /home/myself/test/ ...
0
votes
1answer
17 views

How to clone Mercurial repository from remote server?

How do I clone an Mercurial repository if private key is required for SSH? I tried following and it does not work. dukeimg@localhost:~/foo/test$ hg clone --ssh -i ~/keys/dukeimg ssh://username@...
0
votes
0answers
14 views

SSH tunnel on Windows 10 to Linux Samba

I know This question has been asked a few times already but I think my problem might be slightly different. Maybe I'm not understanding the fundamentals of the issue. I have a Linux Samba share that ...
2
votes
1answer
23 views

How can a VPN connection be maintained after closing its port?

Consider a VPN server with its ports closed using port knocking to open ports only upon a successful knock sequence. When a closed port is opened up using port knocking, and then a VPN connection is ...
-1
votes
0answers
16 views

Shell script to login into Linux server by ssh [duplicate]

I want to write shell script to login by ssh and execute some command.
0
votes
0answers
22 views

X11 forwarding request failed on channel 0

From a linux client I'd like to use X11 forwarding in a CentOS 7 server. I've followed many advices found in Internet: 1) Checked that the xauth package is installed. 2) The /etc/ssh/sshd_config ...
1
vote
0answers
19 views

Server is not responding and accessible

A long power cut happened and I have one server with a weird behavior. It's an HP DL145 G2 without warranty :/ Impossible to make work a vga port or any usb port, same with PS/2 port Impossible to ...
1
vote
0answers
36 views

SSH Automatically Disconnects After Login

I'm trying to set up an ssh server using OpenSSH on Windows 10. On one of my computers, I've been able to set up the server and successfully login from the same machine. On the other computer, the ...
0
votes
1answer
76 views

Macbook ssh hangs

I cannot use ssh to connect to any remote server through the terminal of my macbook right now. It hangs after typing the password. ssh -vvv will hang during the following message: debug1: Entering ...
1
vote
1answer
30 views

Acess internet from remote machine via SSH session and proxy

Computer A is connected to internet through http/https proxy (proxy-server.com:111). Computer B does not have access to internet but I can SSH to Computer A. Computer-B -> COMPUTER-A -> PROXY -...
3
votes
6answers
77k views

How do I transfer a file to my server using PuTTY?

when calling SCP in PuTTY on my Win7 box, it doesn't let me use C:/, but I also have no idea where on my local machine it will look for files by default. None of program directory or user directory ...
1
vote
1answer
32 views

Restrict ssh commands

How can I restrict a ssh user (with only one key) to allow only : a set of commands, with as many arguments as they want tunnelling capabilities (ability to open ports) I have found some examples ...
0
votes
1answer
53 views

Redirect keyboard input to unfocused program

While one program is focused (a full screen web browser) I want to pass keyboard input to another unfocused program (an ssh terminal) in Raspbian/Pi3.
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, ...
2
votes
1answer
26 views

Remote shell on Ubuntu-eclipse displays too many lines

I am using Ubuntu on my Windows laptop to cross-compile and remote-debug some stuff on my raspberry pi 2. I'm connected over a USB-to-ethernet adapter. When I ssh-connect over the normal terminal in ...
1
vote
1answer
21 views

Using GNU Parallel to scp huge file splitting it by chunk per host

I'm using Ansible to set up some configuration on several nodes, and as part of this setup I need to split one big file by n lines and copy each part to a remote file without creating local copy of ...
0
votes
0answers
17 views

Using SSH key in bitbucket?

I'm trying to add SSH key to bitbucket.org account, but with no success. I added my public key in bitbucket profile settings, then changed my remote URL to be SSH. But trying to connect to remote, ...
0
votes
1answer
16 views

How to configure an SFTP client Filezila to a machine which is accessible by doing SSH second time?

MyMachine <---SSH----> AccessMahcine <---SSH----> Target Machine. The target machine is accessible via SSH through an access machine. I can SSH to access machine, and from there again SSH to ...
-2
votes
0answers
20 views

Not able to ssh RHEL linux host

I'm trying to ssh to one of the linux host but not able to do it. It shows operation timed out. ssh: connect to host ****.****.****.**** port 22: Operation timed out I tried to do ping also, It ...
0
votes
3answers
2k views

How to make bash aliases available as linux commands?

I have many bash aliases on a remote location. But when I try to run those from my local linux box, I get the 'command not found' error. e.g. $ ssh root@remote 'status' bash: status: command not ...
-2
votes
0answers
19 views

How do I install Let's Encrypt certificate in a shared hosting Godaddy server? [duplicate]

I'm following the tutorial https://fr.godaddy.com/help/install-a-lets-encrypt-ssl-apache-20245, but when I typed the command ./letsencrypt-auto --help I got the error: "sudo" is not available, ...
0
votes
1answer
5k 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: ...
0
votes
0answers
21 views

connect to another ip address on remote host via ssh tunnel

I need to tunnel to a remote host. This remote host has a LAN. And I need to connect to some host within its LAN through the tunnel. local machine → remote host → another host within the ...
-1
votes
1answer
39 views

Red Hat command returns, “-bash: sudo: command not found” when running “sudo git”

I’m following a GoDaddy help tutorial in order to install “Let’s Encrypt” certificate for my website. So I connected to my server using SSH via PuTTy and when typing the first command: sudo git ...
0
votes
2answers
27 views

Network issue with Windows 7 - characters keep appearing in putty session

I have searched for a solution to this problem on the internet for months, to no avail. Whenever I use putty to SSH to a server from one of my Windows 7 machines (64bit, PRO), I am constantly seeing ...
0
votes
2answers
5k views

sftp limit user to directory

I need to limit sftp for a user to a certain folder. So far I have followed this tutorial to the letter: http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/ It works in the sense that I can ...
5
votes
2answers
15k views

No supported authentication methods available in FileZilla

I'm using FileZilla to connect to my SFTP server. But when I'm trying to connect, it gives me this error Error: Disconnected: No supported authentication methods available (server sent: ...
0
votes
0answers
18 views

Linux kernel ignoring ICMP redirect requests, but only sometimes

With tcpdump I can verify that ICMP redirect requests are honoured when using ping, but not when using ssh. Here is the setup: myhost connects to otherhost. otherhost has tcpdump running. It has a ...
2
votes
1answer
16 views

Passing variables into ssh sessions (Session has to stay alive)

is it possible to start a ssh remote session and pass a variable to the remote host, which is usable in the opened session. For Example: Client: testvar="this is my text" Open ssh session (ssh user@...
1
vote
0answers
50 views

Can't login with PuTTY to RasPi 3 + OSMC

I have a RasPi 3 with a freshly installed OSMC (the successor to RaspBMC, as I'm told). I'd like to use this as a little home server as well (perhaps with OwnCloud, NextCloud or Cozy) - otherwise I ...
0
votes
0answers
7 views

Can't resize some Gnome 3 applications over SSH with PuTTY+VcXsrv

I'll preface this with that I'm uncertain if Gnome 3/gtk3 is at fault or VcXsrv, or a combination. With VcXsrv 1.18.1.1 and 1.17.2.0 I can't resize some gnome 3 gui applications over ssh -X with ...
0
votes
2answers
5k views

WinSCP keeps giving “Host is not communicating” errors while PuTTY is all right?

It had been all right all day until a few hours ago when WinSCP suddenly started keeping giving out the hideous "Host is not communicating for more than 15 seconds. Still waiting..." error. I tried to ...
15
votes
4answers
25k views

How to remotely write to a file using SSH

I can copy a file to a remote Linux machine with no problem with scp file user@host: /pathtowrite_file However, I'm having difficulty writing to a file from one linux machine to another. Here is ...
1
vote
0answers
17 views

Why does my desktop freeze when SSH password prompt goes out of focus?

I use tmux in a fullscreened terminal emulator. Sometimes when I use SSH the password prompt goes out of focus and disappears "behind" the terminal emulator, and X (I think) freezes whenever this ...
1
vote
0answers
57 views

Force OpenSSH server to accept nonexistent usernames?

Can sshd be configured to accept a nonexistent username and log in as a predefined user, such as guest? For example, if I enter ssh nxuser123@localhost, sshd should save "nxuser123" in an environment ...
0
votes
2answers
10 views

Extract error info from log files

I am monitoring the real time server logs through putty by running the command 'tail -f console-20160622.log' ,I want to capture all the error information from the logs which are being generated on ...
0
votes
3answers
5k views

FTP: Cannot connect using FileZilla on Windows - 503 Failure of data connection

I installed FTP Server Services on my IIS 8.5/Windows 7 workstation, and tried to FTP using FileZilla from my laptop (client - Windows 8). I tried to configure the Network Settings using Network ...
0
votes
1answer
12 views

Use netcat to bridge thru firewall?

I have a machine behind a firewall. It's my machine, I have set up ssh, but it's completely firewalled. My solution has been to use a reverse shell set up on a cron basis to reconnect if it fails ...
0
votes
2answers
4k views

FTP Not Connected - Can't input user credentials

I'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe. I'...
9
votes
3answers
5k views

rsync complaining about `missing trailing-"` in a Bash script

Trying to rsync files from one server to the other in a screen session. Instead of writing the long command every single time, I decided to put in a Bash script. However, when I run it, I get a ...
19
votes
3answers
80k views

Command Line SSH restart Mac OSX Mountain Lion

How can I restart the SSH service via the command line on Mac OSX Mountain Lion please? Using ps aux | grep 'ssh', I was able to deduce that the process is most likely /usr/sbin/sshd. From here I ...