Add action :close, firm up ssh detection