[PLUG] exchanging files on LAN

King Beowulf kingbeowulf at gmail.com
Sat Jul 20 02:23:35 UTC 2019


On 7/19/19 2:52 PM, Rich Shepard wrote:
> As I transition from the old server/workstation I frequently copy files and
> directories using scp. Each time I need to enter my pass phrase and I
> thought that ssh-agent eliminated that need. Apparently not. Since all
> transfers are in the LAN and not exposed to the outside world, which tool
> allows internal scp and ssh transfers without entering the pass phrase each
> time? I no longer remember what it is and missed finding it looking at ssh
> web pages.
> 
> TIA,
> 

Rich,

I only use ssh and associated tools with keys when remoting in from the
outside.  On my internal LAN, I find NFS simpler and more versatile. One
box exports several directories via NFS, users/no root.  The other boxes
then just mount those as users and its all drag/drop.

Also, you can also create $HOME/.ssh/config (or /etc/ssh/ssh_config for
all users):

--------
Host <servername>
    User <user on server>
    IdentityFile <location of ssh key>

---------

For the local LAN I created ssh key pairs without a passphrase, with all
hosts having a set in $HOME/.ssh/authorized_keys and as theses never go
"outside" no passphrase is not an issue.

-Ed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20190719/dce9da52/attachment.asc>


More information about the PLUG mailing list