Even with the ssh enabled, I cannot connect my Windows 10 machine to the pi. When I try to login with PuTTY, it says "Access Denied". Any ways to fix this?
Related
I'm facing a weird problem after connecting with the remote host using ssh in VSCode, the editor lost the connection after some seconds with the remote server (in this case a droplet in Digital Ocean). But when I open an ssh connection with the remote server using my local terminal instead of my local VSCode of my I do not see the same thing happen, in the terminal the connection keep alive for minutes, as expected.
Perhaps an ssh config on a remote server? I don't think so because using the terminal the problem doesn't occur.
So, what fix I can apply to my local VSCode configuration to stop this behaviour?
I have a SIM-Card in my Laptop and I want to automate the connection. I have removed the PIN from the SIM-Card. I can disconnect with
netsh mbn disconnect interface="Cellular"
This works. If I try to connect with
netsh mbn connect interface="Cellular"
I get an error, that one or more Parameters are wrong for the command.
I'm using a Windows 10 Machine.
As suggested by B--rian I ended up using
netsh mbn connect interface="Cellular" connmode=name name="{...}"
I had to disable the PIN for this to work.
I am using D'link rouer DSL-2750U. I have installed raspbian jessie in Rpi 3 and connected it to router. Connected my laptop to router wifi. But when i try to connect putty using the IP address of raspberrypi which i have got from router admin panel it gives connection time out error. Also i have tried to adjust keepalive seconds in putty connection setting and enabled X11 forwarding.
I recommend you to check if ssh is enabled in your device:
sudo raspi-config
then navigate to ssh, hit Enter and select Enable or disable ssh server. Now reboot raspberry and try again.
Please Open you RaspberryPI terminal and run the command "sudo service ssh restart". Try connect again from putty
For everyone who is getting a network error from Putty even all of their network settings are okay, you just follow a single step:
Just go there in Connection and set the time for 10 sec or more.
I followed these instructions to a T:
https://winscp.net/eng/docs/guide_windows_openssh_server
For some reason, I can't login to my server. Says it's connecting and then I get this error:
Authentication log (see session log for details):
Using username "damien".
Authentication failed.
I know that I'm using the proper permissions so what gives? The SSH server is definitely running. This is on a Windows 2012 Server.
I received this error when trying to establish an SSH tunnel using pgAdmin3
I specified the private key location on my local machine (had to
enable hidden files on my Mac finder to see it),
entered the tunnel
host (used public host IP) and
checked the 'Identity file' option.
I don't have a password set on my key.
Received this error:
Authentication by identify file failed with error code -18
What am I doing wrong (or what do I need to do differently)?
I was getting this continously on windows (VM).
So I decided pgAdmin's built in ssh tunnel was no good and just used gSTM (On linux).
Forwarding the port from the remote server 5432 to local host 5555 worked.
Then I could just use pgAdmin III on Linux to connect.
You could probably use command line like this if you don't want to use a graphical tool such as gSTM.
ssh -fNg -L 5555:localhost:5432 {your_username}#{yourdomain.com}
Source: http://dustindavis.me/ssh-tunnel-in-pgadmin3-for-postgresql/
You can also use putty on windows to forward ports.
See Connection | SSH | Tunnels menu in the PuTTY Configuration.
http://www.akadia.com/services/ssh_putty.html
Then you can access it.
Of course be very carefull messing about in a remote database.
It is a good idea to label them a red or orange colour in pgAdmin to easily identify the ones that are not on your local network.