Hi, an important part of my project is to log in into remote server with ssh and do something with files on it:
Net::SSH.start(@host, @username, :password => @password) do |ssh|
ssh.exec!(rename_files_on_remote_server)
end
How to test it? I think I can have local ssh server on and check file names on it (maybe it could be in my test/spec directory). Or maybe someone could point me better solution?