[scponly] tilde character

wby oblyr joe at sublimation.org
Wed Apr 13 00:59:04 EDT 2005


The tilde character is superfluous in your example.

scp user at mylinux.server.domain:~/file1.txt .

and

scp user at mylinux.server.domain:file1.txt .

are functionally equivalent.

is this workaround sufficient?

joe.



Andias wrote this message on Wed, Apr 06, 2005 at 08:05 +0200:
> Hi,
> 
> I am currently using scponly-4.0 in my linux server and have a little
> question.
> Instead of PATH of home directory, I couldn't use "~" from the linux
> scp-client, it looks like this:
> 
> $ scp user at mylinux.server.domain:~/file1.txt .
> Password:
> invalid characters in scp command!
> here:~/file1.txt
> try using a wildcard to match this file/directory
> 
> Anyway, I added a character "~" in file scponly.h (line 7), like this:
> #define ALLOWABLE "~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 ./-*\\_\'\":?()"
> 
> and then recompile... aha... it looks better ....
> But is that secure? Or is there a better solution for my case?
> 
> Regards,
> 
> Andias
> 
> 
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly



More information about the scponly mailing list