LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to telnet from Linux back to AIX to get file (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-telnet-from-linux-back-to-aix-to-get-file-4175558076/)

sgaharris 11-05-2015 09:18 AM

Need to telnet from Linux back to AIX to get file
 
I'm testing processing schedules in our new Linux environment/server. I need to telnet back to the AIX server to get a file I need. In AIX I simply would have telnetted back and used the get "filename" command but it doesn't seem to work now.. Is there a different command or format that I can't find? Thanks ahead of time!

TB0ne 11-05-2015 09:23 AM

Quote:

Originally Posted by sgaharris (Post 5445064)
I'm testing processing schedules in our new Linux environment/server. I need to telnet back to the AIX server to get a file I need. In AIX I simply would have telnetted back and used the get "filename" command but it doesn't seem to work now.. Is there a different command or format that I can't find? Thanks ahead of time!

Not sure what you're talking about. Telnet is for terminal access only...NOT file transfer, and it never has been. When telnet was popular, FTP was typically used...BOTH are incredibly old and insecure now, and should be avoided at all costs.

Can you show us the command you used in the past to get this file via telnet, or tell us what emulator you were using? It might have had an FTP/zmodem piece built into it, which won't work if FTP/zmodem/kermit aren't running on your Linux system (they shouldn't be...use SSH for everything).

sgaharris 11-05-2015 10:59 AM

I had a severe memory lapse on this one... ftp works/ed just fine... Is SSH similar to ftp, or does it replace it? Thanks so much for the assist!

Emerson 11-05-2015 11:41 AM

SSH is secure way to do what telnet used to be for - remote logins. It comes with SCP for secure file transfers.

TB0ne 11-05-2015 02:15 PM

Quote:

Originally Posted by sgaharris (Post 5445114)
I had a severe memory lapse on this one... ftp works/ed just fine... Is SSH similar to ftp, or does it replace it? Thanks so much for the assist!

No worries...I lapse on stuff that old too. :)

SSH is one protocol that supports file transfer, as well as terminal emulation. It runs on one port (typically 22), but supports secure copy (SCP), secure ftp (SFTP), and shell (SSH). Since you can do a key-swap between systems, it's GREAT to script with, since (once the key is swapped), no password is needed for login/copy/transfer. You can literally type in
Code:

scp <local file name> user@server.com:/path/to/put/file
...and that's it. It copies over the network to that path, providing you have permission on the remote system, of course. MUCH easier to administer, nothing in clear text, and only one port to keep track of in firewalls.

sgaharris 11-05-2015 02:21 PM

Sounds great! Thanks!! Trying to bring myself up to speed transitioning from old AIX to NEW Linux! A challenging opportunity!


All times are GMT -5. The time now is 07:15 AM.