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
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 System & Network

Unable to access AWS EC2 Instance after move to new office

My company is moving to a new office. I regularly access AWS EC2 instances via SSH/SFTP from the office. I am unable to ssh to an EC2 instance from the new office from a Linux machine. I CAN ssh to the SAME instance from a windows machine (via PuTTy) in the old office (using the […]

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 […]