TS-431P2 cannot connect via VScode ssh

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
HoriaSQM
First post
Posts: 1
Joined: Sat May 27, 2023 1:12 pm

TS-431P2 cannot connect via VScode ssh

Post by HoriaSQM »

I need the functionality to be be able to connect to my QNAP NAS via ssh using VScode Remote-ssh.
In the process of running the ssh from VScode it seems that some command are not recognized by the NAS so the ssh connection is not established:

Code: Select all

[09:31:39.387] Showing password prompt
[09:31:45.939] Got password response
[09:31:45.939] "install" wrote data to terminal: "***********"
[09:31:45.953] > 
[09:31:46.059] > 3a63c10769b3: running
[09:31:46.076] > grep: invalid option -- 'a'
> BusyBox v1.01 (2023.04.20-19:11+0000) multi-call binary
> 
> Usage: grep [-ihHnqvs] PATTERN [FILEs...]
> 
> Search for PATTERN in each FILE or standard input.
> 
> Options:
>         -H      prefix output lines with filename where match was found
>         -h      suppress the prefixing filename on output
>         -i      ignore case distinctions
>         -l      list names of files that match
>         -n      print line number with output lines
>         -q      be quiet. Returns 0 if result was found, 1 otherwise   
>         -v      select non-matching lines
>         -s      suppress file open/read error messages
> 
> grep: invalid option -- 'a'
> BusyBox v1.01 (2023.04.20-19:11+0000) multi-call binary
Does anyone had this issue? Is there a solution for this? Thank you.
Last edited by dolbyman on Fri Jun 02, 2023 8:36 pm, edited 1 time in total.
Reason: added code tags
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: TS-431P2 cannot connect via VScode ssh

Post by FSC830 »

Never used VScode, but because NAS is able to run SSH, its may be interesting which command is rejected/not known.
As a possible solution you can checkout if entware/optware is an option and available for your NAS.
This brings some commands the Busybox does not know.

Regards
Post Reply

Return to “Miscellaneous”