Can't receive ssh traffic to my Mac Os Monterey 12.1 [closed] - linux

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
Trying to ssh -v user_name#host_address from linux to a mac and get this output:
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to host_address [host_address] port 22.
and then it times out.
My sshd-keygen-wrappers have full access,
My Firewall is set to allow all incoming SSH connections.
What am I missing here?

Related

An error occurred in the secure channel support WSL [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last month.
Improve this question
wsl --install
Windows Subsystem for Linux is already installed.
An error occurred in the secure channel support
wsl --list --online
An error occurred in the secure channel support
how to make it work?
i also selected ssl 3.0 from the internet options and TLS 1.2,1.3 are checked too. it still doesn't work.

Explanation of ssh command with option -D [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am studying ssh and I haven't understood the following command with option D
ssh -D 9999 username#remotehost.net
can someone explain what this command does exactly with an example and when it is useful?
This will forward all packets to remotehost.net from localhost:9999 (in your example). In a nutshell this is socks proxy.
From ssh man page:
Specifies a local “dynamic” application-level port forwarding. This works by allocating a socket to listen to port on
the local
side, optionally bound to the specified bind_address. Whenever a connection is made to this port, the connection is
forwarded over
the secure channel, and the application protocol is then used to determine where to connect to from the remote machine. Currently
the SOCKS4 and SOCKS5 protocols are supported, and ssh will act as a SOCKS server. Only root can forward privileged ports.
Dynamic port forwardings can also be specified in the configuration file.

Getting connection refused while executing scp connection in amazon ec2 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I want to copy my file from local machine to remote machine in amazon ec2. I am executing following command:
scp -i ilmkey.pem shahjahan.txt ubuntu#ec2-52-25-74-139.us-west-2.compute.amazonaws.com:~
I am getting following error:
ssh: connect to host ec2-52-25-74-139.us-west-2.compute.amazonaws.com
port 22: Connection refused lost connection
The command telnet HOSTNAME 22 gives:
telnet: could not resolve HOSTNAME/22: Name or service not known
I have set
SSH TCP 22
0.0.0.0/0
in security group tab. Please help me to solve this.
A "connection refused" error makes me think that sshd is not running or that the machine failed to boot. If the Security Group was rejecting you, the question would time out instead. If this instance was already running and SSH was working before, reboot the machine from the console and see if SSH comes back up when it reboots. Also look at the logs via the AWS console, and if you still can't get anywhere, contact AWS Support.

How do I determine the outgoing port being used by SSH after connecting? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have connected to a remote server using ssh:
ssh -i <keypair> <user#server>
How do I determine the outgoing port that my ssh client is using to connect to the remote server ?
I want to know so that I can setup my VNC Client to use that port...
NOTE: I am not talking about the port on the remote server!
Look at the variable $SSH_CLIENT - the second number is the client port.
Should you want to know it from the client side, you can run this command
lsof -p pid | grep TCP
with pid being the process ID of the ssh command

SSH connection to ec2 Connection timed out [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I cannot SSH in to my ec2 instance from ubuntu 12.11.
I tried all the methods of ssh by giving key as credentials
I used
ssh -v -i ~/.ec2/pes.pem ec2-user#ec2-54-209-148-122.compute-1.amazonaws.com
and I am getting the output as
OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ec2-54-209-148-122.compute-1.amazonaws.com [54.209.148.122] port 22.
debug1: connect to address 54.209.148.122 port 22: Connection timed out
ssh: connect to host ec2-54-209-148-122.compute-1.amazonaws.com port 22: Connection timed out
Thank u,
Please make sure that you have configured it on security group for port 22, you can refer it from the following link:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html
Check for a firewall blocking access to this port or IP. It might be a firewall running on the client machine, the server machine or a network firewall running in the client network.

Resources