Coder Social home page Coder Social logo

sftponazure's Introduction

SFTP server on Azure

Deploy a SFTP server running as a container in an Azure Container Instance with Azure File Shares as the persistent storage

Deploy to Azure

Note: This is a temporary proof of concept

Deployment Steps via Az CLI

az group create --name <resourcegroup> --location <location>
az group deployment create --resource-group <resourcegroup> --template-file <template.json>

Deployment results

  • Template creates two users, with name and password provided as parameters
  • Individual file shares will be created per user, which are bind mounted to container instance

Testing

  • use a SFTP client like WinSCP
  • use Container Instance's public IP as hostname
  • use username/password for the 2 users to login and view/upload artifacts
  • validate on azure file shares

Future roadmap

  • Supply list of users in config file and map to /etc/sftp/users.conf
  • Users should use more secure way to login in like SSH keys. Mount public keys in the user's .ssh/keys directory

sftponazure's People

Contributors

saikovvuri avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

sftponazure's Issues

Supplying a list of users

In your Future roadmap you talked about supplying a list of users in config file and map it to /etc/sftp/users.conf

Do you have any idea about how I can do that in Azure: How to specify the path of the file in the template and whether to put the credential file in the same file share.

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.