Re: List contents of file on remote server

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

 



On Thu, 2004-09-16 at 22:42, Norman Gaywood wrote:
> 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
> 
> -- 
Very true.  I was offering an alternative.  If scp is already set up,
then ssh is the way to go.

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux