Categories
User Help

Permission denied (publickey) error when I want to enter a password

I have somehow messed up my Windows machine and now I can no longer ssh to an UNIX host. Previously I was able to ssh and then enter my password and it worked fine. Now when I try to ssh I get the error: Permission denied (publickey). I do not get a chance to enter […]

Categories
Linux Mastering Development

Cannot connect to ssh server using ethernet, but can over WI-FI

I have a running Centos 8 server with enabled sshd and static ip, the problem is that I can’t connect to my ssh server from Windows 10, but I can connect using my Debian system. When trying to connect from windows using PuTTY or any other ssh client software I get “Connection time out” error. […]

Categories
Linux Mastering Development

Cannot connect to ssh server using ethernet, but can over WI-FI

I have a running Centos 8 server with enabled sshd and static ip, the problem is that I can’t connect to my ssh server from Windows 10, but I can connect using my Debian system. When trying to connect from windows using PuTTY or any other ssh client software I get “Connection time out” error. […]

Categories
Linux Mastering Development

Can’t connect to my ssh server with my second ssh client

I have a running Centos 8 server with enabled sshd and static ip, the problem is that I can’t connect to my ssh server from Windows 10, but I can connect using my Debian system. When trying to connect from windows using PuTTY or any other ssh client software I get “Connection time out” error. […]

Categories
Linux Mastering Development

Can’t connect to my ssh server with my second ssh client

I have a running Centos 8 server with enabled sshd and static ip, the problem is that I can’t connect to my ssh server from Windows 10, but I can connect using my Debian system. When trying to connect from windows using PuTTY or any other ssh client software I get “Connection time out” error. […]

Categories
User Help

Connect two computers on two different subnets with two separate account names via ssh without password

I have two computers separated by the Internet. I want to connect the two together from Computer 2 to Computer 1 using a SSH tunnel without requiring a password. ________ ________ | | | | | | ______ _____ _______ | | |________|—|______|—|_____|—/ Internet /—|_______|—|________| / \ Router Modem Gateway / \ /____________\ /____________\ Computer […]

Categories
Mastering Development System & Network

Permission denied (publickey) – Troubleshooting sshd pulling public keys from LDAP Server

1. Problem Summary: Hi, recently, in our infrastructure production environment, new users are unable to ssh into a debian jump server. The jumpserver’ SSH daemon retrieves the SSH public keys from the LDAP Server. We verified sshd local configuration, sshd logs, LDAP public keys presence and we are unable to fully understand what is preventing […]

Categories
Algorithms Development System & Network

ssh seems to be skipping over my keys to login to remote linux machine

As the title states I am trying to ssh into a linux box from windows machine. However it is not using my keys I made it seems to skip over them. Below are the errors from the ssh -vv command im running. Any thoughts? debug1: C:\\Users\\e395953/.ssh/config line 1: Applying options for fswpl20 debug2: resolving “fswpl20” […]

Categories
Development Windows

How to connect to Windows SFTP server using SSH authentication without password?

JSch jSch = new JSch(); jSch.addIdentity(“C:/Keys/id_rsa”, “pass”); Session session = jSch.getSession(“test”, “127.0.0.1”, 22); session.connect(); I tried different options: JSch jSch = new JSch(); try { jSch.setKnownHosts(“~/.ssh/known_hosts”); jSch.addIdentity(“C:/Keys/id_rsa”, “pass”); Session session = jSch.getSession(“test”, “127.0.0.1”, 22); session.connect(); // Channel channel = session.openChannel(“sftp”); } catch (JSchException e) { e.printStackTrace(); } I have a local server-OpenSSH, which when installed […]

Categories
Algorithms Development

Why there are some random bytes from the openssh server while responding kex-neogitation?

I am writing a simple ssh-client in python following the specs specified here. While parsing the list of preferred kex_algorithms there are some random bytes at the start of the list, which should not be there? I am following the structure defined over here for parsing the server response. Here is the python code for […]