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

learn more… | top users | synonyms

0
votes
0answers
19 views

PUTTY: After SSH Login automaticly switch user&send pw (fi. root). Is there a way?

Is there a way to set up putty, to automaticly su and send the password after SSH login with the SSH user?
0
votes
0answers
18 views

Installed Squid Proxy, can't connect

So I just installed squid proxy then went into the config like so: nano /etc/squid/squid.conf Then I added this line of code: http_access allow allcomputers Rebooted the server and now I'm ...
0
votes
2answers
24 views

AWS EC2 Security Group rules: is specifying a security group as a source not considered more permissive than a specific IP address?

I wasn't sure if this is the right sub-StackExchange for this question so feel free to boot me somewhere else if need be. I am trying to work with two EC2 servers: one is a "workstation" and the ...
0
votes
1answer
13 views

sftp onto mac local machine from remote server

Posted this on SO but that was deemed off topic so re-posting it here. I am trying to download a dataset from a private remote server through sftp onto my local macbook pro machine. I was informed by ...
0
votes
1answer
7 views

SSH Using Putty into Amazon EMR

I'm trying to follow the instructions to SSH into Amazon EMR: Download PuTTY.exe to your computer from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Start PuTTY. In the Category ...
0
votes
2answers
22 views

Passwordless authentication not working

I am trying to setup a passwordless authentication between my webserver & a reporting server using the below steps. It works fine in my dev environment , however in the customer environment it ...
-1
votes
0answers
14 views

SSH Public Keys always says invalid directory

I had installed OpenSSL in my windows server. I had added the public keys in \home\<<user>>\.ssh\authorized_keys file. When I run the command I am always getting Permission Denied Error. ...
0
votes
1answer
20 views

Why is my ECDSA fingerprint encoded with MD5 when it is shown as a fingerprint?

In my /etc/ssh folder there are several different SSH keys (which list different algorithms such as MD5 or ECDSA). The one used by default is the ECDSA but when it shows its fingerprint (when I am ...
1
vote
1answer
14 views

How does my server pick which key it uses with an SSH client?

In the /etc/ssh/ directory there are three different keys: ECDSA Key RSA Key and ED225519 Key How does my server choose which one it will use during a connection? Generally when I connect to ...
0
votes
0answers
20 views

Vagrant execute long running command via ssh or via provisioning

I have a script that surely will take a long time to execute. I have a multi-machine installation. On boot (preferably) I would like to have the script running on every one of the machines. However, ...
3
votes
1answer
30 views

How SSH work between an Intel's Galileo board and my laptop?

I'm very newbie at network issues and I'm using my laptop and a SSH connection to access my Intel's Galileo board directories. To achieve this, the tutorial says I must connect Galileo to my router ...
1
vote
1answer
53 views

SSH from Windows (Putty) to Ubuntu via HTTPS

I'm trying to connect to Ubuntu using Putty via HTTPS (SSH via port 22 is blocked via the firewall). I read so many tutorials and sites about SSL, SSH, tunneling, ... that I'm kind of confused now. I ...
0
votes
1answer
37 views

Xlaunch vs Startx vs Startxwin vs Xterm vs X Display Environment Packages

I have downloaded Cygwin on my Windows machine and ssh into an Unix-based machine. What is the difference between Xlaunch, Startx, Startxwin, Xterm, and X Display Environment Packages (GNOME ...
0
votes
1answer
38 views

SSH and XON/XOFF software flow control

I am using a vintage serial terminal connected to a linux box via a USB to RS232 serial null modem cable. The terminal uses XON/XOFF flow control to avoid overflowing the buffer. The terminal works ...
0
votes
0answers
15 views

VPS services (SSH, HTTP) doesn't work after reboot

I rebooted my VPS (sudo reboot) and since that I can't access SSH. Web server is also down. Immediately before reboot I installed python-mysqldb package. I don't modify any system file. 64 bit Debian ...
0
votes
0answers
11 views

ssh into a vm to pentest another vm on a different subnet

I'm trying to pentest this machine (guest target) who has been configured to be on 192.168.110.140 with the Host-only networking feature of virtualbox. I can access it from my host machine, no ...
1
vote
1answer
36 views

How to keep and aggregate bash history across multiple machines?

I normally SSH on multiple remote hosts which are VMs and re-create them every 5-6 days. I loose all my bash history in those VMs as soon as I destroy and re-create them. Is there a way I can share ...
0
votes
0answers
8 views

iptables rules for bridge networking cent OS 7

I currently trying to secure my server with iptables. But i am struggling to get te correct firewall rules for allowing traffic to the vm's and host it self. i want to block traffic that is incoming ...
0
votes
0answers
10 views

Bitvise SSH Keypair

I'm using the Bitvise SSH Client's Tunneling program stnlc.exe and I'm trying to connect to my Bitvise SSH server by using a key pair. I created a Key pair in PuTTyGen, put the public key into the ...
0
votes
0answers
30 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
1answer
24 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
27 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 ...
0
votes
0answers
26 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 ...
-1
votes
0answers
29 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 URL? If no, how ...
1
vote
0answers
45 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 ...
0
votes
1answer
20 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@...
-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.
1
vote
0answers
22 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
1answer
95 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 ...
3
votes
1answer
29 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 ...
0
votes
1answer
53 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 ...
1
vote
1answer
34 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
0answers
46 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
1answer
38 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 -...
1
vote
1answer
39 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
37 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
25 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
24 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 ...
-1
votes
1answer
58 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
0answers
25 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 ...
2
votes
1answer
23 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@...
0
votes
2answers
33 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
0answers
18 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 ...
1
vote
0answers
18 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
59 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
0answers
20 views

How to set system-wide umask for SSH connections to an OSX machine

I would like to set the default umask of an OSX machine to 0002. I can get this to work for graphical applications using: $ sudo launchctl config user umask 0002 $ sudo reboot However, this doesn't ...
0
votes
2answers
11 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
1answer
23 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
1answer
41 views

Connect New Server to Static IP and To DNS Server

I have a strange setup. I have drawn a pretty crude diagram so it may be easier to explain. Usually, all the new servers we add just go into the HPC cluster and we assign an IP address through our ...
0
votes
0answers
16 views

What is the easiest way to copy users from one server to another?

We have about 20 servers on AWS, and we could login only on one of them from local, if we want to log in on others we have to do it from this main master server but everybody use root user which was ...