Depending on exactly what you want to do, screen may work out for you.
You can run the command with screen, screen command then detach that screen and terminate your ssh session. Whatever is running in that screen session will still run, and you can re-attach to that session later, from another terminal.
Depending on exactly what you want to do,
screen
may work out for you.You can run the command with screen,
screen command
then detach that screen and terminate your ssh session. Whatever is running in that screen session will still run, and you can re-attach to that session later, from another terminal.When running commands remotely with ssh the -T option will also help.
Since you don't provide a lot of detail, it is also possible that disown will do what you want.
If it is a task you anticipate repeating over and over again, you can create a cron job.
http://en.wikipedia.org/wiki/Cron