SSH permission denied (password) [closed] - linux

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 7 years ago.
Improve this question
I am going to connect to another virtual machine with SSH. but I am not able to login (permission denied (password)). maybe I should set password in target system and I do not know how?

in the destination machine (virtual machine) which try to access it via ssh allow iptables to be able to access type :
iptables -I INPUT 1 -p tcp --dport 22 -j ACCEPT

Related

Apache server not going online on ubuntu [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 6 years ago.
Improve this question
I have done all steps to make my apache2 server to work online but failed to do . My isp has not blocked port 80 and i have also forwarded my routers port 80. Please help me .
Thanks in advance.
If your website is accessible in your LAN, the most probable issue is coming from your nat translation rule.
Also verify your local firewall on your webserver with :
sudo iptables -L

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.

ssh username#hostname to ssh hostname [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 have an account on my college server and I access it on linux terminal using
ssh {username}#{hostname}.com
I was Wondering if there is a way to access this account only by typing.
ssh {hostname}
Put this into your $HOME/.ssh/config:
Host somealias
HostName example.com
Port 22
User myuser
You can then type ssh somealias and it will actually do a ssh -p 22 myuser#example.com
Like the comments say: Yes, if username is the same on both client and server

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 port forwarding [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 8 years ago.
Improve this question
I'm using SSH port forwarding to connect to Windows Remote Desktop from my Linux machine, like this:
ssh -L 50000:192.0.2.10:3389 user#example.com
rdesktop -f localhost:50000 -u user -p password
Now, the first command opens the remote command line on my terminal, so I have to open another terminal to issue the second one. How can I make ssh go on the background so I wouldn't have to open a new terminal?
You can try ssh with -Nf flags. man ssh for more information.

Resources