Page 1
Page 1
Started By
Message

Looking for help with SSH/Linux Issue

Posted on 7/5/21 at 5:37 pm
Posted by Porkchop Express
Penderbrook
Member since Aug 2014
3961 posts
Posted on 7/5/21 at 5:37 pm
I am trying to move a .txt file from my SSH to my Kali terminal, and then load it on to my local host (127.0.0.1).

No success.

Anyone that has any tips or methodology, I would greatly appreciate them.

I can't find anything substantial googling around the web (and I have been trying for hours).
Posted by TigerinATL
Member since Feb 2005
61438 posts
Posted on 7/5/21 at 5:40 pm to
To copy files over ssh you can use the scp command LINK
Posted by Porkchop Express
Penderbrook
Member since Aug 2014
3961 posts
Posted on 7/5/21 at 7:07 pm to
That's not working unfortunately.

One of the first things I tried.

I think the problem is coming from trying to upload it to the localhost after moving it from ssh to the terminal.

The shell and the terminal are different IPs (127.0.0.0 vs. 127.0.0.1).
Posted by Vrai
Baton Rouge
Member since Nov 2003
3891 posts
Posted on 7/5/21 at 7:34 pm to
What do the logs say? Could be a permissions issue
Posted by Porkchop Express
Penderbrook
Member since Aug 2014
3961 posts
Posted on 7/5/21 at 8:00 pm to
I am trying to upload it directly to HTTP, but I am getting no response.

Even with a python3 -m port connection between both.
Posted by PureMetairie
Metairie
Member since May 2017
948 posts
Posted on 7/5/21 at 8:00 pm to
Use winscp. Gui based ssh client. Drag and drop functionality.
Posted by Porkchop Express
Penderbrook
Member since Aug 2014
3961 posts
Posted on 7/5/21 at 8:22 pm to
Thank you!

Is that for Windows, or just for ssh to Debian Linux?

I don't want to wget this to Linux if it is not compatible.

Really do appreciate the answer.
Posted by Meauxjeaux
98836 posts including my alters
Member since Jun 2005
39857 posts
Posted on 7/6/21 at 10:51 am to
quote:

I am trying to move a .txt file from my SSH to my Kali terminal, and then load it on to my local host (127.0.0.1).



Having a little trouble following this...

Assuming you have a Win machine with Kali linux running in a vm and want to move a file from Kali to Win?

Or are you in a Kali vm, SSH'd into another machine somewhere? Using ssh, to bring it to your Kali vm and then want to copy it to your Windows?
Posted by au7342
Member since May 2020
162 posts
Posted on 7/6/21 at 11:34 am to
You'll not get anywhere using the 127.0.0.1 IP address. That's the local loopback address and points to the machine you are on.

You need to find the real IP addresses to transfer files. If you are on a home network, they should be something like 192.168.N.N. The first N could be 0, 1, 2, etc. depending on your router's config. The last N will be the address of the computers assuming the first three octets are the network address.

When you find the address, scp file-name 192.168.N.N: will put the file in your home directory on the remote computer assuming the account names are the same. If not, you will need to specify the account name on the command line like this: scp file-name neuman@192.168.N.N:

Use ifconfig -a to find the Linux computer's real IP address. Depending on the distro, the real ethernet adaptor most likely will start with an e, like eno1.
This post was edited on 7/6/21 at 11:35 am
Posted by BobRoss
Member since Jun 2014
1693 posts
Posted on 7/7/21 at 12:16 pm to
quote:

Kali


Posted by PureMetairie
Metairie
Member since May 2017
948 posts
Posted on 7/7/21 at 12:54 pm to
It's a windows based client that allows you to connect to any os over ssh.
This post was edited on 7/7/21 at 11:20 pm
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram