173

Installing ssh-keyscan on Alpine linux?

 4 years ago
source link: https://www.codesd.com/item/installing-ssh-keyscan-on-alpine-linux.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Installing ssh-keyscan on Alpine linux?

advertisements

In order to successfully clone a private repository into an Alpine-based docker, I needed to run the following command: ssh-keyscan github.com >> ~/.ssh/known_hosts.

But since ssh-keyscan isn't part of Alpine linux (by default), I have to install it first with apk. The problem is: I dont know how - and I can't find it anywhere on Google.


The command you're looking for is actually ssh-keyscan and you can easily find it using pkgs.alpinelinux.org/contents.

Related Articles

Debian Packagemanager will not install the vagrant.deb package on alpine-linux, while building a docker image

I am new to docker but managed to build myself some dev-environment images ( which is awesome! ). But i wasn't quite satisfied with the filesize of the resulting image, so i tried to migrate the image from node-argon image ( based on debian-wheezy )

Problems installing fast on python on Alpine Linux

When i am trying to install Snappy on alpine linux using: pip install snappy I am getting the following error when it tries to install a required package called cypari. I installed snappy from "apk add snappy" gcc -fno-strict-aliasing -Os -fomit

No such file or directory & ldquo; Limits.h & rdquo; When installing Pillow on Alpine Linux

I'm running alpine-linux on a Raspberry Pi 2. I'm trying to install Pillow via this command: pip install pillow This is the output from the command: Installing collected packages: pillow Running setup.py install for pillow Complete output from comman

Alpine Linux and mdash; Autossh (missing)

I need to be able to : -- RUN apk add --no-cache autossh for migrating my project into alpine linux from ubuntu I'm getting an error while building the Dockerfile.. any workarounds? I cannot get rid of the autossh requirement as I need this to connec

installing ssh using cygwin for hadoop

Before I explain the issue I am having, need to let you know that I am totally new to CYGWIN and stuff like this. My objective of installing SSH using CYGWIN is to setup Hadoop on windows 7 x64 machine. I am trying to execute the steps given on https

Alpine Linux Docker Container with jre-8 does not have Nashorn Engine

I have a docker image based on FROM anapsix/alpine-java:8_server-jre_unlimited. However, when I try ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName("nashorn"); scriptEngine is null. I tried to get the default engine with :

Why crond fails to run a non-root crontab on alpine linux?

I am having a nasty time running a non-root crontab file on Alpine Linux. I've been through two other cron related posts and I don't have an answer: https://askubuntu.com/questions/23009/why-crontab-scripts-are-not-working https://serverfault.com/que

How to install python3-dev in Oracle Linux?

How can I install python3-dev in Oracle Linux? yum install python3-dev is not working. It gives a message: No package python3-dev available. I need python3-dev to convert a python script to Linux executable using Cython. I tried to search rpm files,

Errors Compiling Mesos on Alpine Linux

I'm trying to create a Mesos 0.27.1 image for testing based on Alpine Linux and I've managed to make it most of the way through the compile by trial-and-error. Now I'm encountering an error that looks pretty low-level and I'm wondering if this means

How to install vim plugin (EasyMotion) in Linux?

How to install vim plugin(EasyMotion) in Linux? And the plugin is here: http://www.vim.org/scripts/script.php?script_id=3526Give Vundle a shot. It's simpler than Pathogen in my experience and certainly simpler than installing the plugin manually. Ins

Errors when installing jdk 1.7 in linux

When I am installing jdk 1.7 in Oracle Linux by using the following rpm -ivh jdk-7u9-linux-i586.rpm However I am getting the following errors, how can I resolve these errors and install jdk 1.7? Any help is highly appreciable. Thanks rpm -ivh /tmp/mn

How to install ssh-copy-id on a Mac?

I am having trouble trying to install ssh-copy-id on my Mac. I have tried to follow https://github.com/beautifulcode/ssh-copy-id-for-OSX but every time I run ssh-copy-id it gives me errors. Any ideas on how to get ssh-copy-id to install?You can insta

Installing python modules on GNU / Linux

installing python modules in GNU/Linux. Are there any good PDFs on installing modules? I would like to install some of these Python: 50 modules for all needs. I tried PIL http://effbot.org/downloads/Imaging-1.1.7.tar.gz but it did not work. PS: what

Can not install hmatrix on my Ubuntu Linux machine

I am trying to install hmatrix on my Ubuntu Linux machine (don't know if this is necessary, but it may help) and no matter what I do it will not work. I run cabal install hmatrix and get this: Configuring hmatrix-0.13.1.0... Checking foreign librarie
HashFlare

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK