Questions tagged [putty]
PuTTY is a free open source SSH/Telnet terminal emulation program for Windows and Unix like operating systems.
472
questions
2
votes
1
answer
8k
views
problems with ssh connection: sometimes succesfull/sometimes timeout/sometimes hangs
I have a problem with ssh connection.
I am using my Ubuntu 16.04 client to connect to the Centos7 server. I use ssh-key pairs to establish connections. But then a lot of weird things happen: Sometimes ...
-1
votes
1
answer
263
views
Where can I find login/password information for connecting to local openSSH server started in Windows 7? [closed]
I opened passwd file in etc directory but didn't find something useful. While installing openSSH I set password but for all usernames I input this pass I got "access denied". As SSH client I'm using ...
1
vote
1
answer
185
views
How to map rras dhcp from remote console
So I had been following This tutorial on how to set up VPN on my server. It's some dedicated server I have with Strato, and can acces through RDP.
The tutorial follows some very simple steps
Execute ...
2
votes
1
answer
21k
views
Command Line Putty for SSH Tunnel
I am trying to translate the GUI settings in Putty for establishing SSH tunnel to command line in Windows batch script. The first batch script establishes the port forwarding and tunnel ...
start ...
1
vote
2
answers
2k
views
mRemoteNG succeeds whereas PuTTY fails
I have encountered a few cases (e.g. OSGi API, port 2222) where SSH connection via PuTTY fails to authenticate at login, while same exact authentication user/password succeeds via mRemoteNG.
PuTTY's ...
1
vote
1
answer
2k
views
Trying to connect to database via Putty with jump box
I'm trying to use Putty to create a tunnel that MySQL Workbench can connect through.
Steps I take:
In putty, create a connection to Jumpbox
In SSH:Auth add my pem file and allow agent forwarding
...
0
votes
0
answers
415
views
VNC session not going through OpenSSH - PuTTY tunnel
I am trying to secure my VNC session using OpenSSH(ssshd) and Putty(client)(everything is on windows)
First I establish a tunnel using putty and then log into my server PC using username and password
...
2
votes
1
answer
3k
views
Unable to connect to iDrac8 over SSH
We are running Dell PowerEdge M630 servers. I have a few updates I need to make on the iDracs but I am unable to make a connection to ssh server. The server is running Integrated Dell Remote Access ...
2
votes
3
answers
14k
views
Using SFTP port 22 on both server and client
A customer asked me to setup a secure FTP server (SFTP using openSSH or FreeSSHd).
This new server will pass through a firewall configured to only allow port 22.
It may sound strange, but for ...
0
votes
2
answers
361
views
putty-tools issue, no output
I'm having an issue with putty tools latest version compiled from source. I have them working OK on some Red Hat server but not others; I'm getting no output on all the tools. Example:
Working;
[...
0
votes
2
answers
5k
views
Sending keystrokes using plink
I'd like to execute a set of commands on a cisco device:
conf terminal
ip scp server enable
When performed manually using putty, this works fine. I'm trying to do the same using plink, but have been ...
2
votes
1
answer
1k
views
ssh tunnel in putty for an ssh connection
I have configured a putty session to login into a server (server A) and make an ssh connection to another server (server B) automatically by adding a remote command in putty (ssh server B) for the ...
0
votes
2
answers
3k
views
How to clean orphan Docker containers?
I have a setup where users log into the host machine via PuTTY and can spawn Docker containers for their use.
The Docker command looks like this:
docker run -it --rm -v /home/$USER:/home/$USER -w="/...
0
votes
2
answers
12k
views
Can't get keystrokes from putty or tera term in order to config cisco switch and router
I have one router 1841 and switch 3750 and switch 2960 since last week until yesterday i test a scenario with these devices using unsuitable ips for real network and it was successful.
Today i ...
-1
votes
1
answer
6k
views
how to jump in a server using putty [closed]
I am facing a situation:
From my Local Machine (LM) I connect in a VPN using OpenVPN (HTZ) then I am able to use putty to connect into a HTZ server (lets call it server X). From that server X I have ...
0
votes
2
answers
934
views
windows - gcloud ssh throwing potential security breach error
Please note - this is platform specific. I tried this on
>>> print sys.platform
'darwin'
and the code has no issue. Yet, on
>>> print sys.platform
'win32'
I get the issue.
...
1
vote
0
answers
2k
views
Can't send commands to server via Serial connection in putty/termite
I acquired a Sunfire v215 server from work (they were recycling it) to fiddle around with in my spare time. I'm trying to start it up - the installation guide says you need to use a serial terminal or ...
-1
votes
1
answer
160
views
Fixing fs.file-max too small remotely
I was testing some things and breaking things in order to see if I could fix them. I was connected to a remote machine via Putty ssh and ended up changing fs.file-max to a very (comparatively) small ...
0
votes
2
answers
11k
views
putty software caused network abort
I have had this problem on my laptop for months. If I connect from any other computers (local or remote) I have no problems with the same user.
THE PROBLEM:
Using Putty on Windows 10, I can connect ...
1
vote
1
answer
7k
views
Unable to ssh from windows 10 machine
Im trying to ssh a machine from my Windows 10 machine using a linux shell.
I tried using Bash programm included in Windows 10 and i have got the following error:
"Resource temporarily unavailable"
I ...
1
vote
2
answers
8k
views
Putty: Local port 80 forwarding to localhost:80 failed: Network error: Permission denied
In putty, I have the following:
Session
hostname:username@azurecontainsersvc_mgmt.eastus.cloudapp.azure.com
port: 2200
Connection>SSH>Tunnels L80 localhost:80
Connection>SSH>Auth Private key: ...
0
votes
0
answers
4k
views
"Connection refused" by CentOS7 when trying to connect remotely with SSH
I installed the latest CentOS 7 version 1611 on a Hyper-V VM with static IP. Network and firewall seem to be set up correctly. Now I am trying to simply log into it remotely from Putty. I get "...
1
vote
2
answers
4k
views
mySQL Workbench on Windows through two SSH hosts
I'm attempting to connect to mySQL through two SSH hosts and haven't been able to find a solution anywhere online.
If I were connecting with Putty, I would connect to the first box (let's call it ...
-1
votes
1
answer
9k
views
How to use plink to create SSH tunnel to database?
I'm working on some software that has a local database, but also needs access to a database on AWS.
The database is behind a web server, so the way that I need to connect is to create an SSH tunnel ...
1
vote
2
answers
2k
views
Opening winscp in the same folder as opened putty session [closed]
Say I am in /home/user/folder1/folder2/ in putty i want to open winscp in that folder.I can do the other way around; Open putty in current folder from winscp.Or atleast is there any other software ...
2
votes
1
answer
3k
views
SSH Tunneling on Windows
I'd like to perform SSH tunneling on Windows. This is extremely trivial on Linux.
ssh -L 7456:someurl.com:7456 A.B.C.D:8080
This would cause SSH client to listen on 127.0.0.1:7456, and then ...
1
vote
2
answers
424
views
Will Duplicating server's SSH host keys poses any issues
Im trying to bring up gitlab environment with load balance setup... Problem i have is if a user ssh to LB using putty or git bash they get below error.
Server's host key doest not match the one ...
0
votes
1
answer
805
views
How to run PUTTY and skip dialog?
I have a web application that contains a command to start an EXE
Process.Start("MyApp.exe")
This app will then run putty.exe and will SendKeys to emulate keystrokes to the application.
The app ...
0
votes
1
answer
1k
views
Cannot upload files with scp, but with pscp it works
I can login to a remote server with a login, which has a private key. This private key is without any password. When using PuTTy on Windows, I can login to that remote server without problems given ...
0
votes
1
answer
88
views
Security - I have tried to log in with my ssh key into the wrong address
I have tried to log in (SSH) into the wrong address, my AWS instance was off so I guess no-ip redirected to the old IP address. My private key was specified at putty configuration, is there any ...
0
votes
1
answer
5k
views
Using Putty to proxy through reverse SSH tunnel
I have a remote machine remotePi which uses autossh to maintain a reverse tunnel to a local machine localPi. When SSH'd into localPi, I can reliably ssh into the remotePi using localhost:3333.
Now I ...
2
votes
1
answer
398
views
When PuTTY's window is closed the sshd session may not go away
This is a strange one. I asked a colleague and he was also surprised by it.
We have a shell script that does whatever some such say_hello.sh:
#!/bin/sh
echo -n "Please enter your name: "
read uname
...
-2
votes
1
answer
1k
views
Local port forwarding and Putty connection
I have 2 ssh-servers on virtual machines. Debian (192.168.141.129) and Kali Linux (192.168.141.136). On Debian I forwarded local port 22 to Kali port 2027, so on Kali when connecting to local port ...
0
votes
1
answer
12k
views
pg_ctl: could not start server
I am trying to start the PostgreSQL server installed on a remote Redhat server(RHEL 6.7 x86_64) through putty.
The command that I used to start the server is /etc/init.d/postgresql-9.5 start
But it ...
3
votes
1
answer
2k
views
I cannot SSH or Telnet to Windows Server 2012 on VPS
I just bought a Windows Server 2012 on VPS.I can connect it using remote desktop and setup mongodb and access it.But i cannot seem to telnet or ssh to it using Putty.
Both ports are open and ...
3
votes
1
answer
752
views
Changing comment in Putty .ppk file stop it accepting password
I wanted my putty key to have a more descriptive comment rather than just the date so I opened it up in text editor and changed it. After I did pageant wouldn't accept the password anymore.
Luckily ...
1
vote
0
answers
5k
views
ssh with private key works, sftp results "Server refused our key"
I am trying to connect to an sftp using private key.
The result is "Server refused our key" (tried it with filezilla and winscp). This is the session log from winscp:
Reading key file "D:\path\to\...
0
votes
2
answers
711
views
"Access Denied" logging into Linux Debian via Putty after attempting to change server's time
I was previously able to log into this Linux server just fine.
However, yesterday, after logging in, I manually changed the time (via the date --set [desired time] command), and then changed it back ...
13
votes
4
answers
77k
views
Run remote command with putty
When I do putty -ssh user@host -pw password echo "hi"
I get a network error
But if I do putty -ssh user@host -pw password
An SSH session is successfully opened in a putty terminal. However, ...
0
votes
1
answer
3k
views
Windows Remote desktop over ssh by putty
I know this topic may be duplicate, but i cannot find out the solution from old post.
Here is my situation
Work PC <> Firewall (port 3389 blocked) <> Internet <> Home Router <&...
2
votes
2
answers
3k
views
PuTTY cannot connect but WinSCP and Git bash can
I have a problem: I've been given an account on a testing-box. My public RSA key has been added to my account and I can connect just fine using programs such as WinSCP or Git bash. However, when I try ...
1
vote
1
answer
5k
views
How do I use putty (and/or plink) command line to forward through 2 intermediate hosts to a database?
I need to write a script for some co-workers to connect over the following topology, using a private key for authentication (the same key for each person works on both bastion and db access):
┌──────...
8
votes
1
answer
9k
views
PuTTY slow connecting to Linux SSH server [duplicate]
When connecting to a Linux SSH server using PuTTY, the PuTTY log shows 2 authentication attempts. The first attempt uses "root" as the username and no password. "none" is displayed in the first packet,...
1
vote
0
answers
689
views
Ubuntu 16.04 Terminal SSH Client slow - compare to Windows Putty SSH Client
I have two "client" PCs at the same location, accessing AWS-based Ubuntu 14 standard image machines' terminals via ssh. One "client" box is Ubuntu 16 and another Windows 8.
On Windows client, I use a ...
0
votes
1
answer
1k
views
Network error: Software caused connection abort (SSH & FTP) due to IP ban?
I have been setting up Fail2Ban and ufw. I have added my IP to ufw and fail2ban whitelists, but after simulating mutiple failed ssh login attempts it seems my IP has been banned.
I get the following ...
0
votes
3
answers
198
views
Editing files in SSH connections doesn't give full content (Windows 7 to RHEL 6.4)
When I log into a RHEL 6.4 server (tried two different servers which are identical, a third one did something different but similar) and try to edit a file using vi or nano, the terminal prints only ...
33
votes
3
answers
30k
views
openssh - Adding an ssh key from putty to authorized_keys
I have been provided with an ssh key by a colleague to add to the authorized_keys file for an account on a linux server so they can access that account.
The file looks something like this:
---- ...
0
votes
3
answers
195
views
Hacking/Failed Server Logins
Recently logged into our server after we had the site crash, to restart it, and noticed over 50,000 failed logins to the server since the last successful one only a couple days prior. So I ran "last" ...
0
votes
1
answer
66
views
not able to generate public/ private key and successfully log into server
I've tried to create a private/public key using putty and puttygen although I'm still seeing the password prompt when launching putty with the specified private key in the connection/ssh/auth option. ...
0
votes
1
answer
2k
views
Extract a .pem file from an existing .ppk or from the server?
So I use windows and so when I first setup my server I had a pem key that I converted into a PPK using puttyGen. Now I no longer have the pem and need to access the server from a mac which uses .pem ...