SSH connection fails - Kali - Python3.8
See original GitHub issueHello I just installed the tool using pip and when I run the command
pwncat -s -u SSH_USER -p SSH_PORT -H SSH_HOST -P SSH_PASSWORD
I get the following error.
Traceback (most recent call last):
File "/home/kali/.local/bin/pwncat", line 8, in <module>
sys.exit(main())
File "/home/kali/.local/lib/python3.8/site-packages/pwncat/__main__.py", line 28, in main
pwncat.victim.command_parser.dispatch_line(
File "/home/kali/.local/lib/python3.8/site-packages/pwncat/commands/__init__.py", line 290, in dispatch_line
command.run(args)
File "/home/kali/.local/lib/python3.8/site-packages/pwncat/commands/connect.py", line 229, in run
pwncat.victim.connect(chan)
File "/home/kali/.local/lib/python3.8/site-packages/pwncat/remote/victim.py", line 279, in connect
hostname_path = self.run("which hostname").strip().decode("utf-8")
File "/home/kali/.local/lib/python3.8/site-packages/pwncat/remote/victim.py", line 1032, in run
sdelim, edelim = self.process(cmd, delim=wait, timeout=timeout)
File "/home/kali/.local/lib/python3.8/site-packages/pwncat/remote/victim.py", line 1086, in process
data = self.client.recv(len(command), socket.MSG_PEEK)
Local Info
Operative System: Kali Linux 2020.2 Python version: Python 3.8.3 User: non-root
Remote Info
Operative System: Ubuntu 14.04.5 LTS User: non-root
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How To Fix/Solve SSH Login Issue/Problem On Kali Linux ...
This article describes How To Fix/Solve SSH Login Issue / Problem On Kali Linux 2017.02 EditionKali Linux is a Debian-based Linux distribution ...
Read more >Everything you need to know about the switch to Python 3
Kali Linux fully switched to Python 3. This means that any tool packaged by Kali that was using Python 2 has been either...
Read more >How to Troubleshoot SSH Connection Issues - GeeksforGeeks
Troubleshooting steps: Navigate to /etc/ssh/sshd_config. Make sure PasswordAuthentication and PubkeyAuthentication ends with yes.
Read more >How to Fix SSH Failed Permission Denied (publickey,gssapi ...
The SSH Permission Denied (publickey,gssapi-keyex,gssapi-with-mic) appears on SSH login. This tutorial features the steps to fix the error.
Read more >SSH Connection Refused (Causes & Solutions) - Like Geeks
In this tutorial, you will know causes for the SSH Connection Refused problem and soutions for all of them, step by step.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Now its working fine
On Mon, 14 Sep 2020, 04:48 pitust, notifications@github.com wrote:
Great, I’m going to close this issue, then. If you see it pop up again for whatever reason, please open another issue.