Support ssh protocol to store images