fix crash after first served ssh request
add gitignore
add first draft of ssh remote 'mirroring'