[SOLVED] Uploading file over Putty using "RAW" connection?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm trying to upload file FROM Ubuntu to a customized distribution of linux.
Now, normally, you just fire up scp in the CLI right? Except... this custom build of linux uses RAW connection, without any encryption, so the "conventional" way of uploading files with scp simply doesn't seem to work, I could be wrong though.
Anyone can tell me what I should do? If this is a no go I'll try to install FTP service on the target server.
scp uses ssh to transfer files. I am not sure what you mean by raw. Basically you need something that listens i.e. a server and some method that sends data. Depends on what utilities or servers are installed on this custom build.
The simplest way would be using nc which does not use encryption for transmission. There are many ways.
PuTTY is a client for SSH and other protocols, and one type of connection it can make is "raw" - not "RAW"; it's a word not an acronym - which simply means you directly type the input which is sent over TCP to a specified port on the server. (It can be used to debug plaintext protocols, i.e. HTTP/SMTP/etc).
There must of course be something on the server listening to the requested port which is capable of processing the input it receives.
It does not make sense to attempt to use this mechanism as a means for file transfer - one should use a protocol designed for that purpose: install an SSH server and pick one of scp/sftp/rsync.
scp uses ssh to transfer files. I am not sure what you mean by raw. Basically you need something that listens i.e. a server and some method that sends data. Depends on what utilities or servers are installed on this custom build.
The simplest way would be using nc which does not use encryption for transmission. There are many ways.
Hi I mean if I need to connect to the server with putty, the protocol?format? is "raw".
So I assumed the file transfer should also be "raw". But normally SCP works by encrypting data that got transferred. I don't know what to do?
PuTTY is a client for SSH and other protocols, and one type of connection it can make is "raw" - not "RAW"; it's a word not an acronym - which simply means you directly type the input which is sent over TCP to a specified port on the server. (It can be used to debug plaintext protocols, i.e. HTTP/SMTP/etc).
There must of course be something on the server listening to the requested port which is capable of processing the input it receives.
It does not make sense to attempt to use this mechanism as a means for file transfer - one should use a protocol designed for that purpose: install an SSH server and pick one of scp/sftp/rsync.
Hi, my thinking went like this. Since I use "raw" protocol/format/whatever to connect to the server, then scp must be configured to use also "raw" to transfer the file.
Except I don't know how to do that and I have no leads...
Usually Ubuntu installs scp and ssh by default but what is installed on the custom device? Putty is just a console terminal program not really a file transfer utility.
Usually Ubuntu installs scp and ssh by default but what is installed on the custom device? Putty is just a console terminal program not really a file transfer utility.
Oh I understand that. I now begin to suspect the target system doesn't have any SSH capability at all...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.