LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-05-2015, 10:18 AM   #1
sgaharris
LQ Newbie
 
Registered: Nov 2015
Posts: 3

Rep: Reputation: Disabled
Question 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!
 
Old 11-05-2015, 10:23 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,314

Rep: Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459
Quote:
Originally Posted by sgaharris View Post
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).
 
2 members found this post helpful.
Old 11-05-2015, 11:59 AM   #3
sgaharris
LQ Newbie
 
Registered: Nov 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
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!
 
Old 11-05-2015, 12:41 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,153

Rep: Reputation: Disabled
SSH is secure way to do what telnet used to be for - remote logins. It comes with SCP for secure file transfers.
 
1 members found this post helpful.
Old 11-05-2015, 03:15 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,314

Rep: Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459Reputation: 4459
Quote:
Originally Posted by sgaharris View Post
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.
 
Old 11-05-2015, 03:21 PM   #6
sgaharris
LQ Newbie
 
Registered: Nov 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sounds great! Thanks!! Trying to bring myself up to speed transitioning from old AIX to NEW Linux! A challenging opportunity!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet slowness - linux telnet vs windows telnet vahab Linux - Networking 4 01-23-2013 03:25 PM
Can't telnet to AIX xyrer AIX 2 05-24-2007 06:54 PM
Connect to Telnet aix os server NapalmD Linux - General 12 06-26-2006 06:51 PM
how to create execute file for linux telnet commands siva karthik Programming 7 03-10-2006 01:50 AM
Can you suggest a Telnet replacement for Linux/AIX? davee Linux - Security 10 06-24-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration