Community discussions

MikroTik App
 
expert
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Sun Dec 04, 2016 1:22 pm

ssh/scp file autocompletition

Mon Feb 20, 2017 9:20 pm

Hi,
I've found problem when using autocompletition with ssh/scp from ROS.
$ scp router:
Now press <TAB> <TAB> to trigger autocompletition.
Result:
$ scp router:bad\\\ command\\\ name\\\ command\\\ \\\(line\\\ 1\\\ column\\\ 1\\\)
Doing the same when remote host is linux, it works as expected:
$ scp server:.bash
<TAB> <TAB>
.bash_history   .bash_logout    .bashrc
 
effndc
newbie
Posts: 44
Joined: Wed Jan 11, 2017 1:25 am

Re: ssh/scp file autocompletition

Wed Feb 22, 2017 1:29 am

Autocompletion is provided by the shell (bash in this case) and the ROS shell isn't bash, so autocompletion doesn't exist other than for routerOS CLI commands AFAIK.

Who is online

Users browsing this forum: Bing [Bot], simtj and 154 guests