LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-27-2012, 05:39 AM   #1
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 748

Rep: Reputation: 29
putty problem pasting large text block


putty refuses to paste text if its large. is there a way to solve it?
 
Old 11-27-2012, 05:53 AM   #2
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 651

Rep: Reputation: 269Reputation: 269Reputation: 269
I don't have much experience with putty, but have you considered uploading the file via scp?
 
Old 11-27-2012, 06:06 AM   #3
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 748

Original Poster
Rep: Reputation: 29
but I'm not trying to upload a file. just need to paste text into terminal.
 
Old 11-27-2012, 06:19 AM   #4
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 651

Rep: Reputation: 269Reputation: 269Reputation: 269
What's the difference? The data will get to the other side one way or another.
How much text are we talking about anyway?
Maybe you could pipe the text to putty somehow, but I don't know how to do that in windows.

What are you trying to do, exactly? Is the text a shell script you're trying to run on the remote machine?
 
Old 11-27-2012, 06:21 AM   #5
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
You can use the vpaste script at http://vpaste.net/vpaste. You can also use gnu screen and then copy using control + a then [ and paste it somewhere with control + a then ] such as in a file that you can then transfer with winscp or run the vpaste script against the file with that text.
 
Old 11-27-2012, 06:22 AM   #6
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
Sorry, I misunderstood your question. I thought you were having trouble copying large amounts of text from putty.
 
Old 11-27-2012, 06:25 AM   #7
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
What is it exactly that you're needing to paste large amounts of text for? Maybe we can provide you with another solution to your problem.
 
Old 11-27-2012, 06:32 AM   #8
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
This software will allow you to make larger pastes.

http://www.vandyke.com/products/securecrt/
 
1 members found this post helpful.
Old 11-27-2012, 06:40 AM   #9
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 748

Original Poster
Rep: Reputation: 29
thanks all, I'm trying to configure cisco router by pasting its config.
it seems there is a limit in putty for paste.
unfortunately SecureCRT is not free

@millgates
scp would require some server running on router? I'm using only telnet.

Last edited by qrange; 11-27-2012 at 06:46 AM.
 
Old 12-27-2012, 11:15 PM   #10
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
Can't you upload the config with sftp or scp?
 
Old 12-28-2012, 02:37 AM   #11
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 748

Original Poster
Rep: Reputation: 29
no, ssh is not running.
 
Old 12-28-2012, 08:46 AM   #12
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
You should be able to upload files with tftp.

There is also the telnet command line client you can install with your distro's package manager. Many distros already have it installed by default

EDIT:

I found a list of other telnet clients here:

http://en.wikipedia.org/wiki/Telnet#Telnet_clients

Last edited by fakie_flip; 12-28-2012 at 09:13 AM.
 
1 members found this post helpful.
Old 12-28-2012, 09:29 AM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Depends on the model number but I assume this unit is configured by a console port. So all that is available is a simple command line interface. The router has no other services.

Are you trying this on a windows or linux PC? I know you can use Windows Hyperterminal. You might be able to do this via minicom by uploading an ASCII file i.e. no transfer protocol. You would need to save the configuration as a text file first.

https://supportforums.cisco.com/docs/DOC-2477
 
Old 01-03-2013, 12:59 PM   #14
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 748

Original Poster
Rep: Reputation: 29
thanks all.
I'm accessing router remotely (its a part of ccna course) from Debian.
I'll try tftp but doubt it will work (NAT, firewalls..)
 
Old 01-03-2013, 11:06 PM   #15
mar10
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 1
If you really need to paste large text and that as you say you there is no other way, then why not paste a small portion of the text at a time.
 
  


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
Pasting a block of commands, handling delayed programs (ffmpeg) anonguy9 Linux - Newbie 3 03-27-2009 02:31 PM
yanking/pasting text across vim sessions derzok Linux - Software 2 08-08-2008 06:00 PM
Pasting in Putty runnerpaul Solaris / OpenSolaris 3 06-10-2008 06:50 AM
pasting the selected text with right click works strange raft Linux - Hardware 0 12-06-2003 02:34 PM
Large drive- too much space lost by large block size? tome Linux - General 5 12-14-2001 02:32 PM


All times are GMT -5. The time now is 05:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration