added ssh configuration function