File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM alpine:latest
22RUN apk update
33RUN apk --no-cache upgrade
4- RUN apk --no-cache add unzip ca-certificates openssl
54WORKDIR /mlxsh
6- RUN wget https://github.com/ipcjk/mlxsh/releases/download/0.2b /release.tar.gz
5+ RUN wget https://github.com/ipcjk/mlxsh/releases/download/0.2c /release.tar.gz
76RUN tar xfz release.tar.gz --strip 1
87RUN rm release.tar.gz
9- RUN chmod 0755 /mlxsh/mlxsh.mac && chmod 0755 /mlxsh/mlxsh
8+ RUN chmod 0755 /mlxsh/mlxsh
109RUN chown root:root -R /mlxsh
1110MAINTAINER Joerg Kost <jk@ip-clear.de>
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ func init() {
5959 flag .Parse ()
6060
6161 if version {
62- log .Println ("mlxsh 0.2b (C) 2017 by Jörg Kost, jk@ip-clear.de" )
62+ log .Println ("mlxsh 0.2c (C) 2017 by Jörg Kost, jk@ip-clear.de" )
6363 os .Exit (0 )
6464 }
6565
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ func NetironDevice(Config NetironConfig) *netironDevice {
5454 */
5555 sshClientConfig .HostKeyCallback = ssh .InsecureIgnoreHostKey ()
5656
57-
5857 /* Allow authentication with ssh dsa or rsa key */
5958 if Config .KeyFile != "" {
6059 if file , err := os .Open (Config .KeyFile ); err != nil {
You can’t perform that action at this time.
0 commit comments