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

[ale] Can SFTP do this



I?ve always found it curious the number of folks that would use sftp over scp.  Is there any intrinsic benefit of one over the other?  The interactivity would annoy the bejeezus out of me.

?j


> On Oct 10, 2016, at 9:10 AM, Chuck Payne <terrorpup at gmail.com> wrote:
> 
> Ok,
> 
> I have a client that as one account. They want to be able that if they
> sftp what they want to do, if this account sftp from one of three
> host, that it connects to the correct to the correct home directory
> that matches the host,
> 
> ie..
> 
> devhost01 sftp to host1 connects to dev/home/directory
> 
> qahost01 sftp to host1 connects to qa/home/directory
> 
> prodhost01 sftp to host connects to prod/home/directory
> 
> host1 is the host running sshd
> 
> So is there way for sshd to see where the host is coming from and
> redirect it to the correct directory?
> 
> --
> Terror PUP a.k.a
> Chuck "PUP" Payne
> -----------------------------------------
> Discover it! Enjoy it! Share it! openSUSE Linux.
> -----------------------------------------
> openSUSE -- Terrorpup
> openSUSE Ambassador/openSUSE Member
> skype,twiiter,identica,friendfeed -- terrorpup
> freenode(irc) --terrorpup/lupinstein
> Register Linux Userid: 155363
> 
> Have you tried SUSE Studio? Need to create a Live CD,  an app you want
> to package and distribute , or create your own linux distro. Give SUSE
> Studio a try.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.ale.org/pipermail/ale/attachments/20161012/0d5a51c8/attachment.sig>