Re: List contents of file on remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 16, 2004 at 10:08:57PM -0400, Michael E. Webster wrote:
> On Thu, 2004-09-16 at 21:32, Ben Halicki wrote:
> > Anyone know a quick and easy way to list the contents of a file on a
> > remote machine?  Similar to the cat command, but the file is sitting
> > on another server.  I was thinking about using scp to copy the file to
> > the local machine first, then using cat, but thought there might be a
> > way of performing this in one step?
 
> Take a look at rsh - it will do what you're wanting.

rsh is fine in a restricted environment but the OP has scp working. So
he may as well use ssh:

ssh user@host cat filename

Graphically, if you are using KDE, and you have your ssh keys setup,
you can use this URL in konqueror:

fish://user@host

-- 
Norman Gaywood, Systems Administrator
School of Mathematics, Statistics and Computer Science
University of New England, Armidale, NSW 2351, Australia

norm@xxxxxxxxxxxxxxxxx            Phone: +61 (0)2 6773 2412
http://turing.une.edu.au/~norm    Fax:   +61 (0)2 6773 3312

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux