[scponly] tilde character

Paul Hyder Paul.Hyder at noaa.gov
Wed Apr 6 12:03:57 EDT 2005


Rather than adding this character to ALLOWABLE you probably just want to add
--disable-restrictive-names to your configure.
      Paul Hyder
      NOAA Forecast Systems Lab
      Boulder, CO

Andias wrote:
> 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